* config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
authorMark Kettenis <kettenis@gnu.org>
Wed, 30 Jan 2002 22:32:38 +0000 (22:32 +0000)
committerMark Kettenis <kettenis@gnu.org>
Wed, 30 Jan 2002 22:32:38 +0000 (22:32 +0000)
* config/i386/i386v42mp.mh: Add i387-nat.o .
* i386v4-nat.c: Include i387-nat.h.
(supply_fpregset): Use i387_supply_fsave.
(fill_fpregset): Use i387_fill_fsave.

gdb/ChangeLog
gdb/config/i386/i386v42mp.mh
gdb/config/i386/tm-i386v4.h
gdb/i386v4-nat.c

index fadb65d..13d4029 100644 (file)
@@ -1,3 +1,11 @@
+2002-01-15  Rodney Brown  <rbrown64@csc.com.au>
+
+       * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
+       * config/i386/i386v42mp.mh: Add i387-nat.o .
+       * i386v4-nat.c: Include i387-nat.h.
+       (supply_fpregset): Use i387_supply_fsave.
+       (fill_fpregset): Use i387_fill_fsave.
+
 2002-01-30  Richard Earnshaw  <rearnsha@arm.com>
 
        * arm-tdep.c (arm_call_dummy_words): Define.
index 1165949..007a8bf 100644 (file)
@@ -14,5 +14,5 @@ NAT_FILE= nm-i386v42mp.h
 # continuation character (backslash) to extend a commented line.  As a
 # consequence, make considers subsequent tab-indented lines to be
 # some sort of error.
-NATDEPFILES= corelow.o core-regset.o fork-child.o i386v4-nat.o solib.o solib-svr4.o solib-legacy.o procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o uw-thread.o
+NATDEPFILES= corelow.o core-regset.o fork-child.o i386v4-nat.o i387-nat.o solib.o solib-svr4.o solib-legacy.o procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o uw-thread.o
 
index 071fddf..2003b96 100644 (file)
@@ -24,7 +24,7 @@
 #define TM_I386V4_H 1
 
 /* Pick up most of what we need from the generic i386 target include file. */
-
+#define HAVE_I387_REGS
 #include "i386/tm-i386.h"
 
 /* Pick up more stuff from the generic SVR4 host include file. */
index 8de253d..84dedac 100644 (file)
@@ -27,6 +27,7 @@
 #ifdef HAVE_SYS_REG_H
 #include <sys/reg.h>
 #endif
+#include "i387-nat.h"
 
 
 #ifdef HAVE_SYS_PROCFS_H