Changes between Version 16 and Version 17 of Tools/Gdb Server


Ignore:
Timestamp:
Feb 20, 2009, 4:34:47 PM (14 years ago)
Author:
becoulet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tools/Gdb Server

    v16 v17  
    148148(gdb) monitor debug 1
    149149}}}
     150 * The gdb server almost stops the simulation process when the instrumented virtual processors are frozen. This saves ressources of the host machine during debugging sessions. However this behavior may be an issue when freezing other platform components is not desirable (Use of multiple GDB servers with different processors, critical I/O device latency, multi-threaded simulation... ). The `sleepms` command can be used to tweak the simulator sleep time between each execution cycle when the processors are in frozen state. This value may be set to 0 to let the simulation running at full speed or to -1 to completly stop the simulation while processors are frozen. The `SOCLIB_GDB_SLEEPMS` environment variable can also be used to set this value. An integer ms value is expected. The default value is 100ms.
     151{{{
     152(gdb) monitor sleepms 10
     153}}}
    150154
    151155More informations on using the GDB client can be found on the [http://sourceware.org/gdb/ The GNU Project Debugger] home page.