aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386v4-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-10-31 15:35:08 +0000
committerMark Kettenis <kettenis@gnu.org>2004-10-31 15:35:08 +0000
commitf69c55b294b169f51dbd7e770d84d0024b201b79 (patch)
tree86b8f83ab12e6089049e6ab1857659460b8984af /gdb/i386v4-nat.c
parent36b8628e1954d9e640894c948262e27e92101f62 (diff)
downloadgdb-f69c55b294b169f51dbd7e770d84d0024b201b79.zip
gdb-f69c55b294b169f51dbd7e770d84d0024b201b79.tar.gz
gdb-f69c55b294b169f51dbd7e770d84d0024b201b79.tar.bz2
* i386v4-nat.c (supply_gregset, supply_fpregset, fill_gregset)
(fill_fpregset): Do not compile for 64-bit systems. * i386-sol2-nat.c: Don't include "i386v4-nat.c". * Makefile.in (i386-sol2-nat.o): Update dependencies. * config/i386/i386sol2.mh (NATDEPFILES): Add back i386v4-nat.c.
Diffstat (limited to 'gdb/i386v4-nat.c')
-rw-r--r--gdb/i386v4-nat.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/i386v4-nat.c b/gdb/i386v4-nat.c
index a2f3cd3..c21b9ea 100644
--- a/gdb/i386v4-nat.c
+++ b/gdb/i386v4-nat.c
@@ -37,7 +37,9 @@
#include <sys/procfs.h>
-/* Prototypes for supply_gregset etc. */
+/* We must not compile this code for 64-bit Solaris x86. */
+#if !defined (PR_MODEL_NATIVE) || (PR_MODEL_NATIVE == PR_MODEL_ILP32)
+
#include "gregset.h"
/* The `/proc' interface divides the target machine's register set up
@@ -158,4 +160,6 @@ fill_fpregset (fpregset_t *fpregsetp, int regno)
#endif /* HAVE_FPREGSET_T */
+#endif /* not 64-bit. */
+
#endif /* HAVE_SYS_PROCFS_H */