diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2012-03-19 19:35:55 -0500 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2012-03-22 15:07:16 -0500 |
commit | bec4d62ead8096e433d624d9339893f50badd992 (patch) | |
tree | fd48a6b49acaec668f8b9dfa18c9dedc56d8a0b7 /Documentation/cpu-hotplug.txt | |
parent | 8f30d411767351656ea62c9e7612120f9b870b59 (diff) | |
download | lwn-bec4d62ead8096e433d624d9339893f50badd992.tar.gz lwn-bec4d62ead8096e433d624d9339893f50badd992.zip |
kgdb,debug_core: add the ability to control the reboot notifier
Sometimes it is desirable to stop the kernel debugger before allowing
a system to reboot either with kdb or kgdb. This patch adds the
ability to turn the reboot notifier on and off or enter the debugger
and stop kernel execution before rebooting.
It is possible to change the setting after booting the kernel with the
following:
echo 1 > /sys/module/debug_core/parameters/kgdbreboot
It is also possible to change this setting using kdb / kgdb to
manipulate the variable directly.
Using KDB:
mm kgdbreboot 1
Using gdb:
set kgdbreboot=1
Reported-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'Documentation/cpu-hotplug.txt')
0 files changed, 0 insertions, 0 deletions