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
commit864ca435655273c773055213f033ba621a9f9b17 (patch)
tree5c8aad5b4e3d552eed7dba1950c82aaea3835292 /gdbserver
parent5164c11714c92ba7690d4f93de6be6a90f460220 (diff)
downloadfsf-binutils-gdb-864ca435655273c773055213f033ba621a9f9b17.zip
fsf-binutils-gdb-864ca435655273c773055213f033ba621a9f9b17.tar.gz
fsf-binutils-gdb-864ca435655273c773055213f033ba621a9f9b17.tar.bz2
gdbsupport: replace AC_TRY_COMPILE in warning.m4
Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + AC_LANG_PROGRAM. All changes in generated configure files are insignificant whitespace changes. gdb/ChangeLog: * configure: Re-generate. gdbserver/ChangeLog: * configure: Re-generate. gdbsupport/ChangeLog: * configure: Re-generate. * warning.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE + AC_LANG_PROGRAM. Change-Id: I517bd20ec3af960ad999a586761df0ac8959a3fc
Diffstat (limited to 'gdbserver')
-rw-r--r--gdbserver/ChangeLog4
-rwxr-xr-xgdbserver/configure7
2 files changed, 8 insertions, 3 deletions
diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog
index 8975cc9..5da03da 100644
--- a/gdbserver/ChangeLog
+++ b/gdbserver/ChangeLog
@@ -8,6 +8,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 3980ae7..39ec491 100755
--- a/gdbserver/configure
+++ b/gdbserver/configure
@@ -9820,13 +9820,14 @@ $as_echo_n "checking compiler warning flags... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
struct scoped_restore_base {};
- struct scoped_restore_tmpl : public scoped_restore_base {
- ~scoped_restore_tmpl() {}
- };
+ struct scoped_restore_tmpl : public scoped_restore_base {
+ ~scoped_restore_tmpl() {}
+ };
int
main ()
{
const scoped_restore_base &b = scoped_restore_tmpl();
+
;
return 0;
}