path: root/Documentation/DocBook/kgdb.tmpl
AgeCommit message (Collapse)Author
2015-02-20Merge tag 'for_linux-3.20-rc1' of ↵Linus Torvalds
git:// Pull kgdb/kdb updates from Jason Wessel: "KGDB/KDB New: - KDB: improved searching - No longer enter debug core on panic if panic timeout is set KGDB/KDB regressions / cleanups - fix pdf doc build errors - prevent junk characters on kdb console from printk levels" * tag 'for_linux-3.20-rc1' of git:// kgdb, docs: Fix <para> pdfdocs build errors debug: prevent entering debug mode on panic/exception. kdb: Const qualifier for kdb_getstr's prompt argument kdb: Provide forward search at more prompt kdb: Fix a prompt management bug when using | grep kdb: Remove stack dump when entering kgdb due to NMI kdb: Avoid printing KERN_ levels to consoles kdb: Fix off by one error in kdb_cpu() kdb: fix incorrect counts in KDB summary command output
2015-02-19kgdb, docs: Fix <para> pdfdocs build errorsRajaneesh Acharya
kgdb.pdf failed to build from 'make pdfdocs' giving errors such as: jade:... Documentation/DocBook/kgdb.xml:200:8:E: document type does not allow element "para" here; missing one of "footnote", "caution", "important", "note", "tip", "warning", "blockquote", "informalexample" start-tag Fixing minor <para> and <sect> issues allows kgdb.pdf to be generated under Fedora20. Originally submitted by in 2011, discussed here: as patch: The following are the enhancements that removed the errors while issuing "make pdfdocs" [ Improved commit message and ported to 3.18.1] Signed-off-by: Graham Whaley <> Signed-off-by: Jason Wessel <>
2015-02-04kgdb,docs: Fix typo and minor style issuesGraham Whaley
Fix up a number of small typos, duplications and formatting issues. Signed-off-by: Graham Whaley <> Reviewed-by: Daniel Thompson <> [jc: did s/kgdbdoc/kgdboc/] Signed-off-by: Jonathan Corbet <>
2013-01-11Documentation: remove depends on CONFIG_EXPERIMENTALKees Cook
The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any "depends on" lines in Kconfigs. CC: Rob Landley <> CC: Jiri Kosina <> CC: Masanari Iida <> CC: Jason Wessel <> CC: Richard L Maliszewski <> CC: Gang Wei <> CC: Shane Wang <> CC: Harry Wei <> Signed-off-by: Kees Cook <> Acked-by: Jason Wessel <>
2012-03-22kgdb,debug_core: add the ability to control the reboot notifierJason Wessel
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 <> Signed-off-by: Jason Wessel <>
2010-10-29kdb: Add kdb kernel module sampleJason Wessel
Add an example of how to add a dynamic kdb shell command via a kernel module. Signed-off-by: Jason Wessel <>
2010-08-05kgdb,docs: Update the kgdb docs to include kmsJason Wessel
Update the kgdb docs to include information about kernel mode setting support. [Randy Dunlap <>: grammatical corrections] CC: Randy Dunlap <> Signed-off-by: Jason Wessel <>
2010-05-20kgdb,docs: Update the kgdb docs to include kdbJason Wessel
Update the kgdb docs to reflect the new directory structure and API. Merge in the kdb shell information. [Randy Dunlap <>: grammatical corrections] CC: Randy Dunlap <> Signed-off-by: Jason Wessel <>
2009-05-15kgdb: gdb documentation fixFrank Rowand
gdb command "set remote debug 1" is not valid, change to correct command. Signed-off-by: Frank Rowand <> Signed-off-by: Jason Wessel <>
2008-08-01kgdb: fix kgdb_validate_break_address to perform a mem writeJason Wessel
A regression to the kgdb core was found in the case of using the CONFIG_DEBUG_RODATA kernel option. When this option is on, a breakpoint cannot be written into any readonly memory page. When an external debugger requests a breakpoint to get set, the kgdb_validate_break_address() was only checking to see if the address to place the breakpoint was readable and lacked a write check. This patch changes the validate routine to try reading (via the breakpoint set request) and also to try immediately writing the break point. If either fails, an error is correctly returned and the debugger behaves correctly. Then an end user can make the descision to use hardware breakpoints. Also update the documentation to reflect that using CONFIG_DEBUG_RODATA will inhibit the use of software breakpoints. Signed-off-by: Jason Wessel <>
2008-08-01kgdb: remove the requirement for CONFIG_FRAME_POINTERJason Wessel
There is no technical reason that the kgdb core requires frame pointers. It is up to the end user of KGDB to decide if they need them or not. [ removed frame pointers on mips ] Signed-off-by: Jason Wessel <>
2008-06-24kgdb: documentation update - remove kgdboeJason Wessel
kgdboe is not presently included kgdb, and there should be no references to it. Also fix the tcp port terminal connection example. Signed-off-by: Jason Wessel <>
2008-05-05kgdb: minor documentation
Two minor fixes to the kgdb documentation. Signed-off-by: Grzegorz Chwesewicz, Chilan <> Signed-off-by: Jason Wessel <>
2008-04-17kgdb: documentation fixesJason Wessel
Minor cleanups to kgdb docs. Signed-off-by: Jason Wessel <> Signed-off-by: Ingo Molnar <>
2008-04-17kgdb: add documentationJason Wessel
Add in the kgdb documentation for kgdb. Signed-off-by: Jason Wessel <> Signed-off-by: Ingo Molnar <>