From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Cohen To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: Patch to provide m68k simulator to gdb Date: Tue, 06 Mar 2001 08:22:00 -0000 Message-id: <3AA50E7C.D8FF5E76@redhat.com> References: <3A9C3128.A52307A@redhat.com> <3A9D2941.ECA95C7E@cygnus.com> <3AA40408.1A30B245@redhat.com> <3AA41929.7AD57C98@cygnus.com> X-SW-Source: 2001-03/msg00109.html 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