aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-01-13 14:05:44 -0500
committerSimon Marchi <simon.marchi@efficios.com>2020-01-13 14:06:09 -0500
commitbb564c588d95608ff87067cb05db910cf38dc2d3 (patch)
treebdce2ea8b7f11b94944bc1c9e14d73f205016b67 /gdb/gdbserver
parent6e37c371af4a25d28623b618e30f93b040b4d4ae (diff)
downloadgdb-bb564c588d95608ff87067cb05db910cf38dc2d3.zip
gdb-bb564c588d95608ff87067cb05db910cf38dc2d3.tar.gz
gdb-bb564c588d95608ff87067cb05db910cf38dc2d3.tar.bz2
Enable -Wmissing-declarations diagnostic
Now that most warnings of this kind are fixed, we can enable -Wmissing-declarations. I say "most", because it is likely that there are some more in some configurations I am not able to build, but they should be pretty easy to fix. gdb/ChangeLog: * warning.m4: Add -Wmissing-declarations to build_warnings. * configure: Re-generate. gdb/gdbserver/ChangeLog: * configure: Re-generate. Change-Id: Iae9b59f22eb5dd1965d09f34c5c9e212cddf67ba
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog4
-rwxr-xr-xgdb/gdbserver/configure3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 233bc62..bb0bc7a 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,9 @@
2020-01-13 Simon Marchi <simon.marchi@efficios.com>
+ * configure: Re-generate.
+
+2020-01-13 Simon Marchi <simon.marchi@efficios.com>
+
* tracepoint.h (IP_AGENT_EXPORT_FUNC) [!IN_PROCESS_AGENT]:
Define to static.
* tracepoint.c (stop_tracing, flush_trace_buffer,
diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure
index 4de751b..f70b3d5 100755
--- a/gdb/gdbserver/configure
+++ b/gdb/gdbserver/configure
@@ -8094,7 +8094,8 @@ build_warnings="-Wall -Wpointer-arith \
-Wshadow=local \
-Wdeprecated-copy \
-Wdeprecated-copy-dtor \
--Wredundant-move"
+-Wredundant-move \
+-Wmissing-declarations"
case "${host}" in
*-*-mingw32*)