aboutsummaryrefslogtreecommitdiff
path: root/gdbserver
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-10-31 08:30:59 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2020-10-31 08:30:59 -0400
commit5164c11714c92ba7690d4f93de6be6a90f460220 (patch)
tree2f616d6805b100c55f6090ddb2e834a763299c4c /gdbserver
parentb6fb30eda72b7fc3a6214ed2787f80971f66810d (diff)
downloadfsf-binutils-gdb-5164c11714c92ba7690d4f93de6be6a90f460220.zip
fsf-binutils-gdb-5164c11714c92ba7690d4f93de6be6a90f460220.tar.gz
fsf-binutils-gdb-5164c11714c92ba7690d4f93de6be6a90f460220.tar.bz2
gdbsupport: replace AC_TRY_COMPILE in ptrace.m4
Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + AC_LANG_PROGRAM. All the changes in the generated configure files are insignificant whitespace changes. gdb/ChangeLog: * configure: Re-generate. gdbserver/ChangeLog: * configure: Re-generate. gdbsupport/ChangeLog: * configure: Re-generate. * ptrace.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + AC_LANG_PROGRAM. Change-Id: Ia782b5477fe49dad04e68c0f41c6d8ab3fde5bf0
Diffstat (limited to 'gdbserver')
-rw-r--r--gdbserver/ChangeLog4
-rwxr-xr-xgdbserver/configure7
2 files changed, 10 insertions, 1 deletions
diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog
index bd4ddf7..8975cc9 100644
--- a/gdbserver/ChangeLog
+++ b/gdbserver/ChangeLog
@@ -4,6 +4,10 @@
2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
+ * configure: Re-generate.
+
+2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
+
* configure.ac: Modernize.
* configure: Re-generate.
diff --git a/gdbserver/configure b/gdbserver/configure
index 9686421..3980ae7 100755
--- a/gdbserver/configure
+++ b/gdbserver/configure
@@ -9448,11 +9448,12 @@ if ${gdb_cv_func_ptrace_ret+:} false; then :
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-$gdb_ptrace_headers
+ $gdb_ptrace_headers
int
main ()
{
extern long ptrace (enum __ptrace_request, ...);
+
;
return 0;
}
@@ -9467,6 +9468,7 @@ int
main ()
{
extern int ptrace ();
+
;
return 0;
}
@@ -9505,6 +9507,7 @@ int
main ()
{
extern long ptrace (enum __ptrace_request, ...);
+
;
return 0;
}
@@ -9523,6 +9526,7 @@ int
main ()
{
extern $gdb_cv_func_ptrace_ret ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
+
;
return 0;
}
@@ -9542,6 +9546,7 @@ int
main ()
{
extern $gdb_cv_func_ptrace_ret ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
+
;
return 0;
}