aboutsummaryrefslogtreecommitdiff
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
commit9a82579f3d1ba4b133844af18ec0a7fb0074dad9 (patch)
tree700f2679f5d745f2d041ae8a06b040eca39c18e2 /gdb/i387-nat.c
parentcab16195fe675de9872ec3e68b367f39a1d19555 (diff)
downloadgdb-9a82579f3d1ba4b133844af18ec0a7fb0074dad9.zip
gdb-9a82579f3d1ba4b133844af18ec0a7fb0074dad9.tar.gz
gdb-9a82579f3d1ba4b133844af18ec0a7fb0074dad9.tar.bz2
* 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 5cb1a04..44a5e8a 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