Skip to contentSkip to conversation

kdb: ll command won't terminate

PATCH Cliff Wickman 2 participants 2 messages Jul 13, 2010 KGDB / KDB /debug_core

lore
Share & tools
lore
#0 lore raw

Hi Jason,

A question, please, about a patch similar to the below that Martin Hicks sent, around 5/26/2010.

Martin is on vacation, and suse is wondering whether the below change is queued for 2.6.35. I can't find anything about it. Could you tell me its status?

Thanks.

-Cliff

---
 kernel/debug/kdb/kdb_main.c |    3 +++
 1 file changed, 3 insertions(+)
kernel/debug/kdb/kdb_main.c +3 -0
Index: linux-2.6/kernel/debug/kdb/kdb_main.c
===================================================================
@@ -2291,6 +2291,9 @@ static int kdb_ll(int argc, const char *
 	while (va) {
 		char buf[80];
 
+		if (KDB_FLAG(CMD_INTERRUPT))
+			return 0;
+
 		sprintf(buf, "%s " kdb_machreg_fmt "\n", command, va);
 		diag = kdb_parse(buf);
 		if (diag)
maintainer
#1 lore raw

This particular patch is already in the queue and will be in a pull request very soon.

There are several 1-3 line regression fixes that have been found since the kdb merge in 2.6.35.

Jason.

Quoted 35 lines · Cliff Wickman

Hi Jason,

A question, please, about a patch similar to the below that Martin Hicks sent, around 5/26/2010.

Martin is on vacation, and suse is wondering whether the below change is queued for 2.6.35. I can't find anything about it. Could you tell me its status?

Thanks.

-Cliff

---
 kernel/debug/kdb/kdb_main.c |    3 +++
 1 file changed, 3 insertions(+)

Index: linux-2.6/kernel/debug/kdb/kdb_main.c
===================================================================

kernel/debug/kdb/kdb_main.c +3 -0
@@ -2291,6 +2291,9 @@ static int kdb_ll(int argc, const char *
 	while (va) {
 		char buf[80];
 
+		if (KDB_FLAG(CMD_INTERRUPT))
+			return 0;
+
 		sprintf(buf, "%s " kdb_machreg_fmt "\n", command, va);
 		diag = kdb_parse(buf);
 		if (diag)