diff options
author | Mark Alexander <marka@cygnus> | 1996-09-27 06:13:24 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1996-09-27 06:13:24 +0000 |
commit | 54225fd0232b294f637682f91d58b35c8f5cbda5 (patch) | |
tree | 5e6658365bde7f0620aa2771f30f947c6611c880 /gdb/configure.in | |
parent | f7fa777d221d3e605270e30938d70176ac71d4c9 (diff) | |
download | gdb-54225fd0232b294f637682f91d58b35c8f5cbda5.zip gdb-54225fd0232b294f637682f91d58b35c8f5cbda5.tar.gz gdb-54225fd0232b294f637682f91d58b35c8f5cbda5.tar.bz2 |
* configure.in, config/i386/tm-linux.h: Fix configure
problem on older Linux systems that prevented core files
from being recognized.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index a1d0699..f5094c5 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -47,6 +47,16 @@ AC_C_CONST AC_CHECK_FUNCS(setpgid sbrk) +# If we are configured native on Linux, work around problems with sys/procfs.h +if test "${target}" = "${host}"; then + case "${host}" in + i[3456]86-*-linux*) + AC_DEFINE(START_INFERIOR_TRAPS_EXPECTED,"2") + AC_DEFINE(sys_quotactl) + ;; + esac +fi + AC_MSG_CHECKING([for gregset_t type]) AC_CACHE_VAL(gdb_cv_have_gregset_t, [AC_TRY_LINK([#include <sys/procfs.h>],[gregset_t *gregsetp = 0], |