diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/nat/linux-btrace.c | 8 | ||||
-rw-r--r-- | gdb/nat/linux-ptrace.c | 8 | ||||
-rw-r--r-- | gdb/nat/x86-linux-dregs.c | 8 |
4 files changed, 6 insertions, 24 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 318ca51..7a69109 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 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>. + +2020-01-14 Tom Tromey <tom@tromey.com> + * configure: Rebuild. * configure.ac: Move many checks to ../gdbsupport/common.m4. 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" |