This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH]: Make fp0_regnum a multi-arch variable.


msnyder@cygnus.com wrote:
> 
> The macro FP0_REGNUM is used widely as a test of whether the target
> architecture has an FPU.  This has to be a runtime test for multi-arch.
> 
> 2000-05-08  Michael Snyder  <msnyder@seadog.cygnus.com>
> 
>         * gdbarch.sh: Add FP0_REGNUM to list of multi-arched register numbers.
>         * gdbarch.c, gdbarch.h: Regenerate.
>         * core-regset.c: Change FP0_REGNUM to a runtime test.
>         * procfs.c: Ditto.
>         * sun3-nat.c: Ditto.
>         * sparc-tdep.c: Ditto.
> 
>         * i386mach-nat.c: Remove unnecessary ifdef for FP0_REGNUM.
>         * ptx4-nat.c: Ditto.

Ok with me.
	Andrew

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]