Changes between Version 14 and Version 15 of Tools/Gdb Server


Ignore:
Timestamp:
Feb 5, 2009, 4:07:12 PM (15 years ago)
Author:
becoulet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tools/Gdb Server

    v14 v15  
    132132
    133133 * The processor (thread id) used for step by step execution may be forced for the next '''single step''' operation:
    134 {{{(gdb) monitor stepcpu 1}}}
     134{{{
     135(gdb) monitor stepcpu 1
     136}}}
    135137 * The GdbServer may be instructed to break on processor exception or to let the processor jump in its exception handler transparently. When used with an extra parameter, this setting can apply to a single processor instead of all. The following command disables exception catching for thread id 2 (processor 1):
    136 {{{(gdb) monitor except 0 2}}}
     138{{{
     139(gdb) monitor except 0 2
     140}}}
     141 * An alternative way to set hardware watch point range is provided to bypass the sometime annoying gdb client watch point feature. It can be used to modifiy directly the read and write watching intervals. The following commands set a 4 bytes (default is cpu register width) read/write watch interval at 0x12345678 and then excludes read watching for 32 bytes range at 0x12345000. These watch point will be unknown to the gdb client and will be lost when the simulation terminates.
     142{{{
     143(gdb) monitor watch rw 0x12345678
     144(gdb) monitor watch -r 0x12345000 32
     145}}}
    137146 * The gdb protocol debug mode may be enabled to dump interaction between client and server:
    138 {{{(gdb) monitor debug 1}}}
     147{{{
     148(gdb) monitor debug 1
     149}}}
    139150
    140151More informations on using the GDB client can be found on the [http://sourceware.org/gdb/ The GNU Project Debugger] home page.