aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-08-22 14:18:02 +0000
committerMark Kettenis <kettenis@gnu.org>2004-08-22 14:18:02 +0000
commit5885ab493f5387813a5bc1c774678f303cf80dae (patch)
treed2efedc11b57211bd334482020817db8e29f95f9 /gdb/configure.in
parent651f22f717f19eb895fac91d0cda86ed0e942ca7 (diff)
downloadgdb-5885ab493f5387813a5bc1c774678f303cf80dae.zip
gdb-5885ab493f5387813a5bc1c774678f303cf80dae.tar.gz
gdb-5885ab493f5387813a5bc1c774678f303cf80dae.tar.bz2
* configure.in: Change test for return type of ptrace to default
to `long' instead of `int'. * configure: Regenerate.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index fa07450..da0ad48 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -506,9 +506,9 @@ gcc_AC_CHECK_DECLS(ptrace, , [
# Check return type.
AC_CACHE_CHECK([return type of ptrace], gdb_cv_func_ptrace_ret,
AC_TRY_COMPILE($gdb_ptrace_headers,
- [extern long ptrace ();],
- gdb_cv_func_ptrace_ret='long',
- gdb_cv_func_ptrace_ret='int'))
+ [extern int ptrace ();],
+ gdb_cv_func_ptrace_ret='int',
+ gdb_cv_func_ptrace_ret='long'))
AC_DEFINE_UNQUOTED(PTRACE_TYPE_RET, $gdb_cv_func_ptrace_ret,
[Define as the return type of ptrace.])
# Check argument types.