diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-01-15 00:34:37 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-01-15 00:34:37 +0000 |
commit | 7991dee7827bb5d0343be69d7e34cd0ac9562953 (patch) | |
tree | cd8fa1c0a21a11945f1b1a68044c064712097f3e /gdb/configure.ac | |
parent | de950080620b77512016e97e6ae322508841870f (diff) | |
download | gdb-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.ac')
-rw-r--r-- | gdb/configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 4831ab0..ebb0a95 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -801,7 +801,8 @@ AC_FUNC_VFORK AC_CHECK_FUNCS([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]) AM_LANGINFO_CODESET # Check the return and argument types of ptrace. No canned test for |