Changes between Version 10 and Version 11 of Tools/Gdb Server
- Timestamp:
- Feb 4, 2009, 9:35:22 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tools/Gdb Server
v10 v11 31 31 // With GdbServer 32 32 soclib::caba::VciXcacheWrapper<soclib::common::GdbServer<soclib::common::Mips32ElIss> > cpu0("cpu0", 0, maptab, IntTab(0), 1,8,4, 1,8,4); 33 }}}34 35 Then define the cpu as frozen directly at the boot:36 {{{37 soclib::common::GdbServer<soclib::common::Mips32ElIss>::start_frozen();38 33 }}} 39 34 … … 125 120 The following rules apply: 126 121 122 * Managed processors begin executing code at simulation startup until a gdb client connect on port 2346. 123 * Processors may be forced to start in frozen state waiting for incoming gdb connection by setting the `SOCLIB_GDB` environment variable to `START_FROZEN`. 127 124 * All the managed processors are frozen at the same time when the gdb client prompt is displayed. 128 125 * When using the `continue` command, all processors resume at the same time. … … 135 132 * The processor (thread id) used for step by step execution may be forced for the next '''single step''' operation: 136 133 {{{(gdb) monitor stepcpu 1}}} 137 * 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 enable exception catching for thread id 2 (processor 1):134 * 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 enables exception catching for thread id 2 (processor 1): 138 135 {{{(gdb) monitor except 1 2}}} 139 136 * The gdb protocol debug mode may enabled to dump interaction between client and server: