kernel-fxtec-pro1x/kernel/debug
Jason Wessel 2366e04784 kgdb,debug-core,gdbstub: Hook the reboot notifier for debugger detach
The gdbstub and kdb should get detached if the system is rebooting.
Calling gdbstub_exit() will set the proper debug core state and send a
message to any debugger that is connected to correctly detach.

An attached debugger will receive the exit code from
include/linux/reboot.h based on SYS_HALT, SYS_REBOOT, etc...

Reported-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2012-03-22 15:07:15 -05:00
..
kdb module: struct module_ref should contains long fields 2012-01-13 09:32:14 +10:30
debug_core.c kgdb,debug-core,gdbstub: Hook the reboot notifier for debugger detach 2012-03-22 15:07:15 -05:00
debug_core.h debug_core: refactor locking for master/slave cpus 2010-10-22 15:34:13 -05:00
gdbstub.c kgdb,debug-core,gdbstub: Hook the reboot notifier for debugger detach 2012-03-22 15:07:15 -05:00
Makefile kdb: core for kgdb back end (1 of 2) 2010-05-20 21:04:20 -05:00