aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
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
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')
-rwxr-xr-xgdb/configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/configure b/gdb/configure
index 51fab07..3c5df37 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -7328,17 +7328,17 @@ else
#include "confdefs.h"
$gdb_ptrace_headers
int main() {
-extern long ptrace ();
+extern int ptrace ();
; return 0; }
EOF
if { (eval echo configure:7335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- gdb_cv_func_ptrace_ret='long'
+ gdb_cv_func_ptrace_ret='int'
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- gdb_cv_func_ptrace_ret='int'
+ gdb_cv_func_ptrace_ret='long'
fi
rm -f conftest*
fi