diff options
author | Tom Tromey <tromey@adacore.com> | 2019-05-10 09:25:19 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-05-29 08:56:23 -0600 |
commit | 33a6bc350f5b4f03d586ba9d32667b6fea1dce4a (patch) | |
tree | fb6b3a39d0e5e851f73ac4907809389504eabca0 /gdb/gdbserver | |
parent | 000439d52897541ad00a84026ac471b4f8cb3c97 (diff) | |
download | gdb-33a6bc350f5b4f03d586ba9d32667b6fea1dce4a.zip gdb-33a6bc350f5b4f03d586ba9d32667b6fea1dce4a.tar.gz gdb-33a6bc350f5b4f03d586ba9d32667b6fea1dce4a.tar.bz2 |
Add new GCC 9 warnings to warnings.m4
GCC 9 has a few new warnings that aren't enabled in the gdb build by
default: -Wdeprecated-copy, -Wdeprecated-copy-dtor, and
-Wredundant-move. This patch enables them all.
Tested by rebuilding with a new GCC (git master) on x86-64 Fedora 29.
gdb/ChangeLog
2019-05-29 Tom Tromey <tromey@adacore.com>
* inflow.c (struct terminal_info): Add default operator=.
* configure: Rebuild.
* warning.m4 (AM_GDB_WARNINGS): Add -Wdeprecated-copy,
-Wdeprecated-copy-dtor, -Wredundant-move.
gdb/gdbserver/ChangeLog
2019-05-29 Tom Tromey <tromey@adacore.com>
* configure: Rebuild.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rwxr-xr-x | gdb/gdbserver/configure | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 2e98158..e15395d 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2019-05-29 Tom Tromey <tromey@adacore.com> + + * configure: Rebuild. + 2019-05-06 Kevin Buettner <kevinb@redhat.com> * linux-x86-low.c (x86_fill_gregset): Don't compile 64-bit diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 1ddbd6b..5ffdeb0 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -7271,7 +7271,10 @@ build_warnings="-Wall -Wpointer-arith \ -Wsuggest-override \ -Wimplicit-fallthrough=3 \ -Wduplicated-cond \ --Wshadow=local" +-Wshadow=local \ +-Wdeprecated-copy \ +-Wdeprecated-copy-dtor \ +-Wredundant-move" case "${host}" in *-*-mingw32*) |