From patchwork Thu Jan 9 00:58:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 37269 Received: (qmail 80934 invoked by alias); 9 Jan 2020 00:58:25 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 80884 invoked by uid 89); 9 Jan 2020 00:58:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.2 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=PACKAGE, HX-Languages-Length:2090 X-HELO: gateway36.websitewelcome.com Received: from gateway36.websitewelcome.com (HELO gateway36.websitewelcome.com) (192.185.195.25) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 Jan 2020 00:58:23 +0000 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway36.websitewelcome.com (Postfix) with ESMTP id E7C75401389DA for ; Wed, 8 Jan 2020 18:10:27 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id pM9VipIdqqNtvpM9ViSU0B; Wed, 08 Jan 2020 18:58:21 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=oPJBslrq9sp9JB1AY+Mi+6KvBEsU1Gl9qVq3oZL66Ow=; b=WOVs+T0I54Ha8UzSUPFNaviB4h /tnevDzZcWADFL272dQ3TP/LUjyvc5j2dT21T9mS+VIXv+gdKrvrBSnB448wz2AAM2HZ5Ja7t4z8B o8SIgelV+9AMVTsLqCkTqmNaV; Received: from 75-166-123-50.hlrn.qwest.net ([75.166.123.50]:33552 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1ipM9V-004IGu-JO; Wed, 08 Jan 2020 17:58:21 -0700 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH v2 4/6] Remove use of from gdb/nat/ Date: Wed, 8 Jan 2020 17:58:05 -0700 Message-Id: <20200109005807.7314-5-tom@tromey.com> In-Reply-To: <20200109005807.7314-1-tom@tromey.com> References: <20200109005807.7314-1-tom@tromey.com> This removes the use of from the files in gdb/nat/. 2020-01-08 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/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"