Changes between Version 10 and Version 11 of Tools/Gdb Server


Ignore:
Timestamp:
Feb 4, 2009, 9:35:22 PM (14 years ago)
Author:
becoulet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tools/Gdb Server

    v10 v11  
    3131   // With GdbServer
    3232   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();
    3833}}}
    3934
     
    125120The following rules apply:
    126121
     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`.
    127124 * All the managed processors are frozen at the same time when the gdb client prompt is displayed.
    128125 * When using the `continue` command, all processors resume at the same time.
     
    135132 * The processor (thread id) used for step by step execution may be forced for the next '''single step''' operation:
    136133{{{(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):
    138135{{{(gdb) monitor except 1 2}}}
    139136 * The gdb protocol debug mode may enabled to dump interaction between client and server: