diff options
| author | Jason Wessel <[email protected]> | 2012-03-16 19:20:41 +0000 |
|---|---|---|
| committer | Jason Wessel <[email protected]> | 2012-03-22 20:07:15 +0000 |
| commit | 2366e047840e33928803c0442176fb3991423da8 (patch) | |
| tree | 6c1488ee97a24c85dd4f2ddb1a06a5694de6e2f2 /lib/mpi/mpi-inline.c | |
| parent | kgdb: Respect that flush op is optional (diff) | |
| download | kernel-2366e047840e33928803c0442176fb3991423da8.tar.gz kernel-2366e047840e33928803c0442176fb3991423da8.zip | |
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 <[email protected]>
Signed-off-by: Jason Wessel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions
