This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: What should a CPU simulator support?
On Fri, Jul 06, 2007 at 03:26:48AM -0700, Robert Norton wrote:
> Is this still the recommended way of making a built-in simulator? I
Depends what you mean. I suppose it is, but I recommend not making a
built-in simulator at all (using TCP to talk to your simulator).
> noticed when upgrading our port that the api for simulator implemented
> breakpoints has been removed! We're not interested in implementing soft
> breakpoints so I had to resurrect this support in remote-sim.c.
Do you mean SIM_HAS_BREAKPOINT? I believe it was removed four years
ago for lack of any simulators in the tree which used it. That's life
with an uncontributed port :-)
--
Daniel Jacobowitz
CodeSourcery