This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]