Re: Patch to provide m68k simulator to gdb

Will Cohen
2001-03-06T08:22:00Z

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.

-Will