From 25e573565306c51df462eb6a957f86fc130ee580 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 19 Dec 2019 17:49:25 -0700 Subject: [PATCH] Remove use of from gdb/nat/ This removes the use of from the files in gdb/nat/. gdb/ChangeLog 2020-01-14 Tom Tromey * nat/linux-btrace.c: Don't include . * nat/linux-ptrace.c: Don't include . * nat/x86-linux-dregs.c: Don't include . Change-Id: Ie8c734c54ada848aa020c77ec727704d367eff81 --- gdb/ChangeLog | 6 ++++++ gdb/nat/linux-btrace.c | 8 -------- gdb/nat/linux-ptrace.c | 8 -------- gdb/nat/x86-linux-dregs.c | 8 -------- 4 files changed, 6 insertions(+), 24 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 318ca51c523..7a691092ced 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2020-01-14 Tom Tromey + + * nat/linux-btrace.c: Don't include . + * nat/linux-ptrace.c: Don't include . + * nat/x86-linux-dregs.c: Don't include . + 2020-01-14 Tom Tromey * configure: Rebuild. diff --git a/gdb/nat/linux-btrace.c b/gdb/nat/linux-btrace.c index 3a3cd8d235d..03fc85e2ece 100644 --- a/gdb/nat/linux-btrace.c +++ b/gdb/nat/linux-btrace.c @@ -20,14 +20,6 @@ along with this program. If not, see . */ #include "gdbsupport/common-defs.h" - -#undef PACKAGE -#undef PACKAGE_NAME -#undef PACKAGE_VERSION -#undef PACKAGE_STRING -#undef PACKAGE_TARNAME - -#include #include "linux-btrace.h" #include "gdbsupport/common-regcache.h" #include "gdbsupport/gdb_wait.h" diff --git a/gdb/nat/linux-ptrace.c b/gdb/nat/linux-ptrace.c index 859feb7ca87..5335d690922 100644 --- a/gdb/nat/linux-ptrace.c +++ b/gdb/nat/linux-ptrace.c @@ -17,14 +17,6 @@ along with this program. If not, see . */ #include "gdbsupport/common-defs.h" - -#undef PACKAGE -#undef PACKAGE_NAME -#undef PACKAGE_VERSION -#undef PACKAGE_STRING -#undef PACKAGE_TARNAME - -#include #include "linux-ptrace.h" #include "linux-procfs.h" #include "linux-waitpid.h" diff --git a/gdb/nat/x86-linux-dregs.c b/gdb/nat/x86-linux-dregs.c index 31683aab17c..b5dd71e3c7c 100644 --- a/gdb/nat/x86-linux-dregs.c +++ b/gdb/nat/x86-linux-dregs.c @@ -18,14 +18,6 @@ along with this program. If not, see . */ #include "gdbsupport/common-defs.h" - -#undef PACKAGE -#undef PACKAGE_NAME -#undef PACKAGE_VERSION -#undef PACKAGE_STRING -#undef PACKAGE_TARNAME - -#include #include "nat/gdb_ptrace.h" #include #include "target/waitstatus.h" -- 2.30.2