]> git.baikalelectronics.ru Git - kernel.git/commit
debug_core,kdb: fix kgdb_connected bit set in the wrong place
authorJason Wessel <jason.wessel@windriver.com>
Thu, 22 Jul 2010 00:27:07 +0000 (19:27 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 22 Jul 2010 00:27:07 +0000 (19:27 -0500)
commit3eab1261b11fccb41b7a28ef5b668a30684cb77d
treeb210de833621055d02c2114b77d419f09ea73a36
parent01ceb5e6dec909bd5dd97f93f3161d11ea4fcade
debug_core,kdb: fix kgdb_connected bit set in the wrong place

Immediately following an exit from the kdb shell the kgdb_connected
variable should be set to zero, unless there are breakpoints planted.
If the kgdb_connected variable is not zeroed out with kdb, it is
impossible to turn off kdb.

This patch is merely a work around for now, the real fix will check
for the breakpoints.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
kernel/debug/debug_core.c