diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2011-05-23 18:22:54 (GMT) |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2011-08-01 18:23:59 (GMT) |
commit | d613d828e8987a1f794378022f900b454fa95403 (patch) | |
tree | 637d466ae00621139e9d019c3a439ab0d8959cd5 /kernel/debug/kdb/kdb_debugger.c | |
parent | f679c4985bb2e7de9d39a5d40b6031361c4ad861 (diff) | |
download | linux-fsl-qoriq-d613d828e8987a1f794378022f900b454fa95403.tar.xz |
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_debugger.c')
-rw-r--r-- | kernel/debug/kdb/kdb_debugger.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/debug/kdb/kdb_debugger.c b/kernel/debug/kdb/kdb_debugger.c index fe422d2..d9ca9aa 100644 --- a/kernel/debug/kdb/kdb_debugger.c +++ b/kernel/debug/kdb/kdb_debugger.c @@ -126,10 +126,8 @@ int kdb_stub(struct kgdb_state *ks) KDB_STATE_CLEAR(PAGER); kdbnearsym_cleanup(); if (error == KDB_CMD_KGDB) { - if (KDB_STATE(DOING_KGDB) || KDB_STATE(DOING_KGDB2)) { + if (KDB_STATE(DOING_KGDB)) KDB_STATE_CLEAR(DOING_KGDB); - KDB_STATE_CLEAR(DOING_KGDB2); - } return DBG_PASS_EVENT; } kdb_bp_install(ks->linux_regs); |