* 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 fadb65de5d43e98ff5094c41a8e355316028d3cb..13d402963c94a416aff99615a5f3274182d0cfc7 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 1165949cde2fb9fcc8e8003a4d5305125f7239da..007a8bf1e05d336ee493229f82d11b8bab6bb108 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 071fddfd8ec6830307bfa03f0bcbcfe8347573e4..2003b96de2e5269f35206b806444614a5fc55b96 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 8de253d7329ec8558e027693f2c262b3dcd6d6d8..84dedac7bf93ba2cb5ee04f6bec156565a973e87 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