X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fi386v4-nat.c;h=c21b9ea1d5598d5689ea6dbb27f38d97826c6fa9;hb=f69c55b294b169f51dbd7e770d84d0024b201b79;hp=a2f3cd323ea447ffc3e9835f4af0e59bce05986d;hpb=40e2047218f16d9bdf4fb452f614cf12c7d2e1b2;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/i386v4-nat.c b/gdb/i386v4-nat.c index a2f3cd323e..c21b9ea1d5 100644 --- a/gdb/i386v4-nat.c +++ b/gdb/i386v4-nat.c @@ -37,7 +37,9 @@ #include -/* 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 */