This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Patch to provide m68k simulator to gdb
"Frank Ch. Eigler" wrote:
>
> Will Cohen <wcohen@redhat.com> writes:
>
> : [...]
> : > If these are the register numbers being passed in via
> : > sim_{fetch,store}_register() then they should be defined
> : > include/sim-m68k.h.
> :
> : 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.
>
> FWIW, I agree with Will. The sim-d10v.h, while not a bad idea, is a
> very lonely and rather old precedent to become required of new ports.
FYI, That file was only introduced a year ago. It occured when the d10v
was given an upgrade. I've been pretty consistent in asking anyone with
a new simulator (merged or not) to follow that convention.
Andrew