diff options
author | Tom Tromey <tom@tromey.com> | 2019-01-19 14:08:48 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-01-21 11:14:07 -0700 |
commit | be6d4f74c77c6f521afc873d226480e001cb99c2 (patch) | |
tree | 15753099cdbd7e43f60d4bd72890519734ef40e8 /gdb/gdbserver | |
parent | d7167c671da0323daf31a8e07945c57c25f858d2 (diff) | |
download | gdb-be6d4f74c77c6f521afc873d226480e001cb99c2.zip gdb-be6d4f74c77c6f521afc873d226480e001cb99c2.tar.gz gdb-be6d4f74c77c6f521afc873d226480e001cb99c2.tar.bz2 |
Remove duplicate or commented-out #includes
I wrote a little script to detect duplicate or commented-out #includes
and ran it on gdb. This patch is the result. Tested by rebuilding.
gdb/ChangeLog
2019-01-21 Tom Tromey <tom@tromey.com>
* ui-out.c: Fix includes.
* tui/tui-source.c: Fix includes.
* target.c: Fix includes.
* remote.c: Fix includes.
* regcache.c: Fix includes.
* python/py-block.c: Fix includes.
* printcmd.c: Fix includes.
* or1k-tdep.c: Fix includes.
* mi/mi-main.c: Fix includes.
* m32r-tdep.c: Fix includes.
* csky-tdep.c: Fix includes.
* compile/compile-cplus-types.c: Fix includes.
* cli/cli-interp.c: Fix includes.
gdb/gdbserver/ChangeLog
2019-01-21 Tom Tromey <tom@tromey.com>
* tracepoint.c: Fix includes.
* remote-utils.c: Fix includes.
* linux-x86-low.c: Fix includes.
gdb/stubs/ChangeLog
2019-01-21 Tom Tromey <tom@tromey.com>
* ia64vms-stub.c: Fix includes.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/gdbserver/linux-x86-low.c | 1 | ||||
-rw-r--r-- | gdb/gdbserver/remote-utils.c | 1 | ||||
-rw-r--r-- | gdb/gdbserver/tracepoint.c | 1 |
4 files changed, 6 insertions, 3 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 02906cb..5312ca9 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,9 @@ +2019-01-21 Tom Tromey <tom@tromey.com> + + * tracepoint.c: Fix includes. + * remote-utils.c: Fix includes. + * linux-x86-low.c: Fix includes. + 2019-01-01 Joel Brobecker <brobecker@adacore.com> * gdbreplay.c (gdbreplay_version): Update copyright year in diff --git a/gdb/gdbserver/linux-x86-low.c b/gdb/gdbserver/linux-x86-low.c index 99b0cc5..056d060 100644 --- a/gdb/gdbserver/linux-x86-low.c +++ b/gdb/gdbserver/linux-x86-low.c @@ -72,7 +72,6 @@ static const char *xmltarget_amd64_linux_no_xml = "@<target>\ #include <sys/reg.h> #include <sys/procfs.h> -#include "nat/gdb_ptrace.h" #include <sys/uio.h> #ifndef PTRACE_GET_THREAD_AREA diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c index ef1b0ed..e7a2170 100644 --- a/gdb/gdbserver/remote-utils.c +++ b/gdb/gdbserver/remote-utils.c @@ -25,7 +25,6 @@ #include "tdesc.h" #include "dll.h" #include "rsp-low.h" -#include "gdbthread.h" #include "netstuff.h" #include "filestuff.h" #include <ctype.h> diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c index c4af557..5fb8a51 100644 --- a/gdb/gdbserver/tracepoint.c +++ b/gdb/gdbserver/tracepoint.c @@ -7330,7 +7330,6 @@ gdb_agent_init (void) } #include <sys/mman.h> -#include <fcntl.h> IP_AGENT_EXPORT_VAR char *gdb_tp_heap_buffer; IP_AGENT_EXPORT_VAR char *gdb_jump_pad_buffer; |