This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH]: Make fp0_regnum a multi-arch variable.
- To: msnyder at cygnus dot com
- Subject: Re: [PATCH]: Make fp0_regnum a multi-arch variable.
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 10 May 2000 23:50:24 +1000
- CC: cagney at cygnus dot com, gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <200005090128.SAA14516@seadog.cygnus.com>
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