* i386v4-nat.c (supply_gregset, supply_fpregset, fill_gregset)
[deliverable/binutils-gdb.git] / gdb / i386v4-nat.c
index a2f3cd323ea447ffc3e9835f4af0e59bce05986d..c21b9ea1d5598d5689ea6dbb27f38d97826c6fa9 100644 (file)
@@ -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 */
This page took 0.024297 seconds and 4 git commands to generate.