summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/kgdb.tmpl
Commit message (Collapse)AuthorAgeFilesLines
* kgdb: fix kgdb_validate_break_address to perform a mem writeJason Wessel2008-08-011-0/+10
| | | | | | | | | | | | | | | | | | | | 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 <jason.wessel@windriver.com>
* kgdb: remove the requirement for CONFIG_FRAME_POINTERJason Wessel2008-08-011-0/+8
| | | | | | | | | | 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. [ anemo@mba.ocn.ne.jp: removed frame pointers on mips ] Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
* kgdb: documentation update - remove kgdboeJason Wessel2008-06-241-14/+6
| | | | | | | | | 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 <jason.wessel@windriver.com>
* kgdb: minor documentation fixesgrzegorz.chwesewicz@chilan.com2008-05-051-3/+5
| | | | | | | Two minor fixes to the kgdb documentation. Signed-off-by: Grzegorz Chwesewicz, Chilan <grzegorz.chwesewicz@chilan.com> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
* kgdb: documentation fixesJason Wessel2008-04-171-46/+58
| | | | | | | Minor cleanups to kgdb docs. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* kgdb: add documentationJason Wessel2008-04-171-0/+435
Add in the kgdb documentation for kgdb. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>