Patch to provide m68k simulator to gdb

Will Cohen
Tue Mar 6 08:22:00 GMT 2001

Andrew Cagney wrote:
> Will Cohen wrote:
> >
> > I have revised the code to avoid hard coded constants for the register
> > numbers. The register numbers are defined in sim-main.h.
> Just FYI,
> If these are the register numbers being passed in via
> sim_{fetch,store}_register() then they should be defined
> include/sim-m68k.h.
>         Andrew

If that's the way to do it okay.  I only saw include/sim-d10v.h there.
None of the other simulators followed this approach. I was emulating
what I saw in the vast majority of the simulators.


More information about the Gdb-patches mailing list