aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-01-15 00:34:37 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-01-15 00:34:37 +0000
commit7991dee7827bb5d0343be69d7e34cd0ac9562953 (patch)
treecd8fa1c0a21a11945f1b1a68044c064712097f3e /gdb/configure
parentde950080620b77512016e97e6ae322508841870f (diff)
downloadgdb-7991dee7827bb5d0343be69d7e34cd0ac9562953.zip
gdb-7991dee7827bb5d0343be69d7e34cd0ac9562953.tar.gz
gdb-7991dee7827bb5d0343be69d7e34cd0ac9562953.tar.bz2
gdb/
* configure.ac (AC_CHECK_FUNCS): Check for setrlimit and getrlimit. * configure: Regenerate. * config.in: Regenerate. * utils.c: Include sys/resource.h. (dump_core, can_dump_core): New. (internal_vproblem): Update the comment. Check can_dump_core while setting dump_core_p. Replace two abort calls by dump_core calls.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/configure b/gdb/configure
index ff49f1d..7f26c64 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -11233,7 +11233,8 @@ fi
for ac_func in canonicalize_file_name realpath getrusage getuid \
getgid pipe poll pread64 sbrk setpgid setpgrp setsid \
sigaction sigprocmask sigsetmask socketpair syscall \
- ttrace wborder setlocale iconvlist libiconvlist btowc
+ ttrace wborder setlocale iconvlist libiconvlist btowc \
+ setrlimit getrlimit
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"