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

Andrew Cagney ac131313@cygnus.com
Wed May 10 06:52:00 GMT 2000


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


More information about the Gdb-patches mailing list