projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0c6f62
)
kdb: break out of kdb_ll() when command is terminated
author
Martin Hicks
<mort@sgi.com>
Thu, 22 Jul 2010 00:27:05 +0000
(19:27 -0500)
committer
Jason Wessel
<jason.wessel@windriver.com>
Thu, 22 Jul 2010 00:27:05 +0000
(19:27 -0500)
Without this patch the "ll" linked-list traversal command won't
terminate when you hit q/Q.
Signed-off-by: Martin Hicks <mort@sgi.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
kernel/debug/kdb/kdb_main.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/debug/kdb/kdb_main.c
b/kernel/debug/kdb/kdb_main.c
index 184cd8209c365de082c70c354f25758d22339ed8..a7fe2e98d613dfe2377a4ba42ee3338b8667149f 100644
(file)
--- a/
kernel/debug/kdb/kdb_main.c
+++ b/
kernel/debug/kdb/kdb_main.c
@@
-2291,6
+2291,9
@@
static int kdb_ll(int argc, const char **argv)
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)