aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-12-19 17:49:25 -0700
committerTom Tromey <tom@tromey.com>2020-01-14 16:25:04 -0700
commit25e573565306c51df462eb6a957f86fc130ee580 (patch)
tree2869126ef32a4a706cc04009ff7a637007099c55 /gdb/nat
parent05ea2a051030a452bb1f4710dafeb1054cf38c17 (diff)
downloadgdb-25e573565306c51df462eb6a957f86fc130ee580.zip
gdb-25e573565306c51df462eb6a957f86fc130ee580.tar.gz
gdb-25e573565306c51df462eb6a957f86fc130ee580.tar.bz2
Remove use of <config.h> from gdb/nat/
This removes the use of <config.h> from the files in gdb/nat/. gdb/ChangeLog 2020-01-14 Tom Tromey <tom@tromey.com> * nat/linux-btrace.c: Don't include <config.h>. * nat/linux-ptrace.c: Don't include <config.h>. * nat/x86-linux-dregs.c: Don't include <config.h>. Change-Id: Ie8c734c54ada848aa020c77ec727704d367eff81
Diffstat (limited to 'gdb/nat')
-rw-r--r--gdb/nat/linux-btrace.c8
-rw-r--r--gdb/nat/linux-ptrace.c8
-rw-r--r--gdb/nat/x86-linux-dregs.c8
3 files changed, 0 insertions, 24 deletions
diff --git a/gdb/nat/linux-btrace.c b/gdb/nat/linux-btrace.c
index 3a3cd8d..03fc85e 100644
--- a/gdb/nat/linux-btrace.c
+++ b/gdb/nat/linux-btrace.c
@@ -20,14 +20,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
-
-#undef PACKAGE
-#undef PACKAGE_NAME
-#undef PACKAGE_VERSION
-#undef PACKAGE_STRING
-#undef PACKAGE_TARNAME
-
-#include <config.h>
#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 859feb7..5335d69 100644
--- a/gdb/nat/linux-ptrace.c
+++ b/gdb/nat/linux-ptrace.c
@@ -17,14 +17,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
-
-#undef PACKAGE
-#undef PACKAGE_NAME
-#undef PACKAGE_VERSION
-#undef PACKAGE_STRING
-#undef PACKAGE_TARNAME
-
-#include <config.h>
#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 31683aa..b5dd71e 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 <http://www.gnu.org/licenses/>. */
#include "gdbsupport/common-defs.h"
-
-#undef PACKAGE
-#undef PACKAGE_NAME
-#undef PACKAGE_VERSION
-#undef PACKAGE_STRING
-#undef PACKAGE_TARNAME
-
-#include <config.h>
#include "nat/gdb_ptrace.h"
#include <sys/user.h>
#include "target/waitstatus.h"