From e26167887817eaf9d6a4db73b96ca1dde47a7ac2 Mon Sep 17 00:00:00 2001 From: Honggyu Kim Date: Tue, 7 Jan 2014 01:25:10 -0200 Subject: Remove duplicated #include's from GDB This patch simply removes duplicated #include statements in the gdb/ directory. If there are two duplicated #include statements, this patch keeps the first #include and removes the second. Those duplicates have been found by using the checkincludes.pl tool from the Linux kernel and double checked manually once again if the #include statements are affected by #ifdef macros. 2014-01-06 Honggyu Kim * ada-lang.c: Remove duplicated include statements. * alphabsd-nat.c: Ditto. * amd64-darwin-tdep.c: Ditto. * amd64fbsd-nat.c: Ditto. * auto-load.c: Ditto. * ax-gdb.c: Ditto. * breakpoint.c: Ditto. * dbxread.c: Ditto. * fork-child.c: Ditto. * gdb_usleep.c: Ditto. * i386-darwin-tdep.c: Ditto. * i386fbsd-nat.c: Ditto. * infcmd.c: Ditto. * inferior.c: Ditto. * jv-lang.c: Ditto. * linux-nat.c: Ditto. * linux-tdep.c: Ditto. * m68kbsd-nat.c: Ditto. * m68klinux-nat.c: Ditto. * microblaze-tdep.c: Ditto. * mips-linux-tdep.c: Ditto. * mn10300-tdep.c: Ditto. * nto-tdep.c: Ditto. * opencl-lang.c: Ditto. * osdata.c: Ditto. * printcmd.c: Ditto. * regcache.c: Ditto. * remote-m32r-sdi.c: Ditto. * remote.c: Ditto. * symfile.c: Ditto. * symtab.c: Ditto. * tilegx-linux-nat.c: Ditto. * tilegx-tdep.c: Ditto. * tracepoint.c: Ditto. * valops.c: Ditto. * vaxbsd-nat.c: Ditto. * windows-nat.c: Ditto. * xtensa-tdep.c: Ditto. --- gdb/tilegx-linux-nat.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/tilegx-linux-nat.c') diff --git a/gdb/tilegx-linux-nat.c b/gdb/tilegx-linux-nat.c index 61bca3f..a00f386 100644 --- a/gdb/tilegx-linux-nat.c +++ b/gdb/tilegx-linux-nat.c @@ -30,15 +30,12 @@ #include +/* Defines ps_err_e, struct ps_prochandle. */ #include "gdb_proc_service.h" -#include /* Prototypes for supply_gregset etc. */ #include "gregset.h" -/* Defines ps_err_e, struct ps_prochandle. */ -#include "gdb_proc_service.h" - /* The register sets used in GNU/Linux ELF core-dumps are identical to the register sets in `struct user' that is used for a.out core-dumps, and is also used by `ptrace'. The corresponding types -- cgit v1.1