Software-vs-hardware single-step vs. sim/non-sim targets.

Jakob Engblom jakob@virtutech.com
Sat Dec 5 21:12:00 GMT 2009


>   I have a GDB port for a custom target, a sim-based simulator, and a gdbstub
> for use on the real thing.  GDB can single step the simulator of course, since
> the support for simulated hardware-single-step is built in, but I'd like to
> save bytes in the gdbstub by not implementing support for the "s" command.

Can't you just use gdb-serial as the level of intermediation?

And hide all implementations behind a common facade, and use a single standard
gdb as the front-end?


/jakob



More information about the Gdb mailing list