Remove use of <config.h> from gdb/nat/
authorTom Tromey <tom@tromey.com>
Fri, 20 Dec 2019 00:49:25 +0000 (17:49 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 14 Jan 2020 23:25:04 +0000 (16:25 -0700)
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

gdb/ChangeLog
gdb/nat/linux-btrace.c
gdb/nat/linux-ptrace.c
gdb/nat/x86-linux-dregs.c

index 318ca51c5236861e1123bbb2077bce7a6583362b..7a691092cedc39d030dabb5f971ea252637d4c0c 100644 (file)
@@ -1,3 +1,9 @@
+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.
index 3a3cd8d235de7c75d49188bf5bec8a2b09d6059a..03fc85e2ecebff350b00bd3e4ac63459a9900f67 100644 (file)
    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"
index 859feb7ca8761dcfc73ce30475b69d627fee0220..5335d6909228b01ab960a8c57a007d0f909898c5 100644 (file)
    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"
index 31683aab17c1869707b75c788d5a29faf1748316..b5dd71e3c7ca2fc4ac73571e91fc0912583165dc 100644 (file)
    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"