aboutsummaryrefslogtreecommitdiff
path: root/gdb/tilegx-linux-nat.c
diff options
context:
space:
mode:
authorHonggyu Kim <hong.gyu.kim@lge.com>2014-01-07 01:25:10 -0200
committerSergio Durigan Junior <sergiodj@redhat.com>2014-01-07 14:14:30 -0200
commite26167887817eaf9d6a4db73b96ca1dde47a7ac2 (patch)
treecc100f38ccba843b0b3b716bc5926c726b0d3ce8 /gdb/tilegx-linux-nat.c
parentbd1f77885b60e39e5a4125053ae2ae2a26244419 (diff)
downloadgdb-e26167887817eaf9d6a4db73b96ca1dde47a7ac2.zip
gdb-e26167887817eaf9d6a4db73b96ca1dde47a7ac2.tar.gz
gdb-e26167887817eaf9d6a4db73b96ca1dde47a7ac2.tar.bz2
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 <hong.gyu.kim@lge.com> * 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.
Diffstat (limited to 'gdb/tilegx-linux-nat.c')
-rw-r--r--gdb/tilegx-linux-nat.c5
1 files changed, 1 insertions, 4 deletions
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 <sys/procfs.h>
+/* Defines ps_err_e, struct ps_prochandle. */
#include "gdb_proc_service.h"
-#include <sys/ptrace.h>
/* 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