X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ftilegx-linux-nat.c;h=2bf8183302a66d5cb704e5c73b0b61964841a2aa;hb=061fc021d5d110cc37a4c06c4ed94b87be00610a;hp=442970b16546bfe9152bef33d55bee42a3eea8e1;hpb=8acc9f485bba28b65935dcc3498d9f3b712ddac7;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/tilegx-linux-nat.c b/gdb/tilegx-linux-nat.c index 442970b165..2bf8183302 100644 --- a/gdb/tilegx-linux-nat.c +++ b/gdb/tilegx-linux-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for GNU/Linux TILE-Gx. - Copyright (C) 2012-2013 Free Software Foundation, Inc. + Copyright (C) 2012-2016 Free Software Foundation, Inc. This file is part of GDB. @@ -23,22 +23,16 @@ #include "regcache.h" #include "linux-nat.h" -#include - -#include "gdb_assert.h" -#include "gdb_string.h" +#include "nat/gdb_ptrace.h" #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 @@ -65,7 +59,7 @@ static const int regmap[] = 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, -1, -1, -1, -1, -1, -1, -1, -1, - 56 + 56, 58 }; /* Transfering the general-purpose registers between GDB, inferiors