aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-01-30 22:32:38 +0000
committerMark Kettenis <kettenis@gnu.org>2002-01-30 22:32:38 +0000
commit69824b4e99fc536995e0183ecd03ce99d128a394 (patch)
tree9957c92276c9fb75dcec2a9fba17cbab50717d25
parent912a07db5247067be7e5e1c69cdeb0b542f17a63 (diff)
downloadbinutils-69824b4e99fc536995e0183ecd03ce99d128a394.zip
binutils-69824b4e99fc536995e0183ecd03ce99d128a394.tar.gz
binutils-69824b4e99fc536995e0183ecd03ce99d128a394.tar.bz2
* 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.
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/config/i386/i386v42mp.mh2
-rw-r--r--gdb/config/i386/tm-i386v4.h2
-rw-r--r--gdb/i386v4-nat.c1
4 files changed, 11 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fadb65d..13d4029 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/config/i386/i386v42mp.mh b/gdb/config/i386/i386v42mp.mh
index 1165949..007a8bf 100644
--- a/gdb/config/i386/i386v42mp.mh
+++ b/gdb/config/i386/i386v42mp.mh
@@ -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
diff --git a/gdb/config/i386/tm-i386v4.h b/gdb/config/i386/tm-i386v4.h
index 071fddf..2003b96 100644
--- a/gdb/config/i386/tm-i386v4.h
+++ b/gdb/config/i386/tm-i386v4.h
@@ -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. */
diff --git a/gdb/i386v4-nat.c b/gdb/i386v4-nat.c
index 8de253d..84dedac 100644
--- a/gdb/i386v4-nat.c
+++ b/gdb/i386v4-nat.c
@@ -27,6 +27,7 @@
#ifdef HAVE_SYS_REG_H
#include <sys/reg.h>
#endif
+#include "i387-nat.h"
#ifdef HAVE_SYS_PROCFS_H