Changes between Version 28 and Version 29 of Tools/Gdb Server
- Timestamp:
- Dec 4, 2013, 3:21:43 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tools/Gdb Server
v28 v29 202 202 * 0x10 (MIPS32_DEBUG_DATA - print CPU load/store) 203 203 204 * If supported by the cache, the gdb server can enable the display of debugging information form the cache during the simulation. This mask can be set via the gdb server with the following command ({{{val}}} is the new value of the mask): 205 {{{ 206 (gdb) monitor cachedebug val 207 }}} 208 At the moment, only the cc_vcache models support the debug mask and defines the following values: 209 * 0x1 (dcache FSM debug) 210 * 0x2 (icache FSM debug) 211 * 0x4 (cleanup FSM debug) 212 204 213 * Cycle breakpoints can be used to instruct the `GdbServer` to stop the simulation at a given cycle number. This enables taking advantage of the fact that SoCLib simulations always yield the same result when executed multiple times. This allows starting a simulation again with a cycle break point to examine the simulator state just before a chosen point is reached or particular event happens. Cycle counts are reported when using the call trace feature for instance. The `SOCLIB_GDB_CYCLEBP` environment variable must be set to the breaking cycle number to define a cycle break point. 205 214