diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 12:29:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 12:29:44 -0400 |
commit | a20ae85abaefb02cc0edf19c34f78d19437c1cf1 (patch) | |
tree | 13174b718a7f7b955b7d79f5427506ad62a3054e /Documentation | |
parent | f0a5ec0e8da4521036799ced340172b2732845a8 (diff) | |
parent | 1ba0c1720eb0de2d0f3abf84c0b128d10af520d1 (diff) |
Merge tag 'for_linus-3.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/kgdb
Pull KGDB/KDB updates from Jason Wessel:
"Fixes:
- Fix KDB keyboard repeat scan codes and leaked keyboard events
- Fix kernel crash with kdb_printf() for users who compile new
kdb_printf()'s in early code
- Return all segment registers to gdb on x86_64
Features:
- KDB/KGDB hook the reboot notifier and end user can control if it
stops, detaches or does nothing (updated docs as well)
- Notify users who use CONFIG_DEBUG_RODATA to use hw breakpoints"
* tag 'for_linus-3.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/kgdb:
kdb: Add message about CONFIG_DEBUG_RODATA on failure to install breakpoint
kdb: Avoid using dbg_io_ops until it is initialized
kgdb,debug_core: add the ability to control the reboot notifier
KDB: Fix usability issues relating to the 'enter' key.
kgdb,debug-core,gdbstub: Hook the reboot notifier for debugger detach
kgdb: Respect that flush op is optional
kgdb: x86: Return all segment registers also in 64-bit mode
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/DocBook/kgdb.tmpl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/DocBook/kgdb.tmpl b/Documentation/DocBook/kgdb.tmpl index d71b57fcf116..4ee4ba3509fc 100644 --- a/Documentation/DocBook/kgdb.tmpl +++ b/Documentation/DocBook/kgdb.tmpl | |||
@@ -362,6 +362,23 @@ | |||
362 | </para> | 362 | </para> |
363 | </para> | 363 | </para> |
364 | </sect1> | 364 | </sect1> |
365 | <sect1 id="kgdbreboot"> | ||
366 | <title>Run time parameter: kgdbreboot</title> | ||
367 | <para> The kgdbreboot feature allows you to change how the debugger | ||
368 | deals with the reboot notification. You have 3 choices for the | ||
369 | behavior. The default behavior is always set to 0.</para> | ||
370 | <orderedlist> | ||
371 | <listitem><para>echo -1 > /sys/module/debug_core/parameters/kgdbreboot</para> | ||
372 | <para>Ignore the reboot notification entirely.</para> | ||
373 | </listitem> | ||
374 | <listitem><para>echo 0 > /sys/module/debug_core/parameters/kgdbreboot</para> | ||
375 | <para>Send the detach message to any attached debugger client.</para> | ||
376 | </listitem> | ||
377 | <listitem><para>echo 1 > /sys/module/debug_core/parameters/kgdbreboot</para> | ||
378 | <para>Enter the debugger on reboot notify.</para> | ||
379 | </listitem> | ||
380 | </orderedlist> | ||
381 | </sect1> | ||
365 | </chapter> | 382 | </chapter> |
366 | <chapter id="usingKDB"> | 383 | <chapter id="usingKDB"> |
367 | <title>Using kdb</title> | 384 | <title>Using kdb</title> |