aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-01-19 14:08:48 -0700
committerTom Tromey <tom@tromey.com>2019-01-21 11:14:07 -0700
commitbe6d4f74c77c6f521afc873d226480e001cb99c2 (patch)
tree15753099cdbd7e43f60d4bd72890519734ef40e8 /gdb/target.c
parentd7167c671da0323daf31a8e07945c57c25f858d2 (diff)
downloadgdb-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/target.c')
-rw-r--r--gdb/target.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c
index e66584f..ad7eba3 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -48,7 +48,6 @@
#include <algorithm>
#include "byte-vector.h"
#include "terminal.h"
-#include <algorithm>
#include <unordered_map>
static void generic_tls_error (void) ATTRIBUTE_NORETURN;