summaryrefslogtreecommitdiff
path: root/gdb/i387-nat.c
diff options
context:
space:
mode:
authorJiri Smid <smid@suse.cz>2001-09-21 12:15:15 +0000
committerJiri Smid <smid@suse.cz>2001-09-21 12:15:15 +0000
commita1a5860a4c86d9f1c807bd319d1ac078931ccdc6 (patch)
tree1e427a06e7847ce277302dd574d3b3e83e7a7fd5 /gdb/i387-nat.c
parent070a85374b9df26595798952d614f4adf1aa6daf (diff)
downloadgdb-a1a5860a4c86d9f1c807bd319d1ac078931ccdc6.tar.gz
* i386-tdep.h: New file.
* i387-nat.c: Include i386-tdep.h when multiarch. * i387-tdep.c: Ditto.
Diffstat (limited to 'gdb/i387-nat.c')
-rw-r--r--gdb/i387-nat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/i387-nat.c b/gdb/i387-nat.c
index 5cb1a04c694..44a5e8a9135 100644
--- a/gdb/i387-nat.c
+++ b/gdb/i387-nat.c
@@ -25,6 +25,10 @@
#include "i387-nat.h"
+#if GDB_MULTI_ARCH > 0
+#include "i386-tdep.h"
+#endif
+
/* FIXME: kettenis/2000-05-21: Right now more than a few i386 targets
define their own routines to manage the floating-point registers in
GDB's register array. Most (if not all) of these targets use the