aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/debug/kdb/kdb_io.c
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2011-05-23 14:22:54 -0400
committerJason Wessel <jason.wessel@windriver.com>2011-08-01 14:23:59 -0400
commitd613d828e8987a1f794378022f900b454fa95403 (patch)
tree637d466ae00621139e9d019c3a439ab0d8959cd5 /kernel/debug/kdb/kdb_io.c
parentf679c4985bb2e7de9d39a5d40b6031361c4ad861 (diff)
kdb: Remove all references to DOING_KGDB2
The DOING_KGDB2 was originally a state variable for one of the two ways to automatically transition from kdb to kgdb. Purge all these variables and just use one single state for the transition. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/debug/kdb/kdb_io.c')
-rw-r--r--kernel/debug/kdb/kdb_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/debug/kdb/kdb_io.c b/kernel/debug/kdb/kdb_io.c
index bd233264b29f..0dbcdfbb6fd0 100644
--- a/kernel/debug/kdb/kdb_io.c
+++ b/kernel/debug/kdb/kdb_io.c
@@ -399,7 +399,7 @@ poll_again:
399 strcmp(lastchar - 11, "$qSupported") == 0) { 399 strcmp(lastchar - 11, "$qSupported") == 0) {
400 kdb_gdb_state_pass(lastchar - 11); 400 kdb_gdb_state_pass(lastchar - 11);
401 strcpy(buffer, "kgdb"); 401 strcpy(buffer, "kgdb");
402 KDB_STATE_SET(DOING_KGDB2); 402 KDB_STATE_SET(DOING_KGDB);
403 return buffer; 403 return buffer;
404 } 404 }
405 } 405 }