From patchwork Fri Jul 20 04:27:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 28514 Received: (qmail 14958 invoked by alias); 20 Jul 2018 04:28:20 -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 14078 invoked by uid 89); 20 Jul 2018 04:28:13 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=inferiorh, inferior.h, UD:inferior.h X-HELO: gateway36.websitewelcome.com Received: from gateway36.websitewelcome.com (HELO gateway36.websitewelcome.com) (192.185.186.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 20 Jul 2018 04:28:08 +0000 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway36.websitewelcome.com (Postfix) with ESMTP id E344A400C84DC for ; Thu, 19 Jul 2018 22:29:45 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id gN1GfPxcCbXuJgN1KfXPyw; Thu, 19 Jul 2018 23:28:02 -0500 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=QqLEvm10r/0L4YCk9O+qJF0vdwLT0+vLywwdt9QAXDE=; b=I0uu7vElpw4KT0X+sS2Hpt8HEy lX5oERfhrI3KYRMBO4b2Qx0V+OuM+V7Q9DPTR4PjPDhw4wCG9g2ohiLaDCmPBeFdD1zsGKbTSqC6b fdI7Tka9CthEaBmo9N9fTeLvg; Received: from 75-166-85-72.hlrn.qwest.net ([75.166.85.72]:39336 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fgN1G-003pgz-8a; Thu, 19 Jul 2018 23:27:54 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [RFA v2 15/23] Do not use buildsym.h in some files Date: Thu, 19 Jul 2018 22:27:39 -0600 Message-Id: <20180720042747.18473-16-tom@tromey.com> In-Reply-To: <20180720042747.18473-1-tom@tromey.com> References: <20180720042747.18473-1-tom@tromey.com> A few files no longer need to include buildsym.h. gdb/ChangeLog 2018-07-19 Tom Tromey * arch-utils.c: Do not include buildsym.h. * mipsread.c: Do not include buildsym.h. * machoread.c: Do not include buildsym.h. * elfread.c: Do not include buildsym.h. --- gdb/ChangeLog | 7 +++++++ gdb/arch-utils.c | 1 - gdb/elfread.c | 1 - gdb/machoread.c | 1 - gdb/mipsread.c | 1 - 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index a65f01f8336..6b40cb91607 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -20,7 +20,6 @@ #include "defs.h" #include "arch-utils.h" -#include "buildsym.h" #include "gdbcmd.h" #include "inferior.h" /* enum CALL_DUMMY_LOCATION et al. */ #include "infrun.h" diff --git a/gdb/elfread.c b/gdb/elfread.c index 10daef05369..71dcb237c32 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -28,7 +28,6 @@ #include "symtab.h" #include "symfile.h" #include "objfiles.h" -#include "buildsym.h" #include "stabsread.h" #include "gdb-stabs.h" #include "complaints.h" diff --git a/gdb/machoread.c b/gdb/machoread.c index 07e1cdaf4f8..0cbd209893e 100644 --- a/gdb/machoread.c +++ b/gdb/machoread.c @@ -24,7 +24,6 @@ #include "bfd.h" #include "symfile.h" #include "objfiles.h" -#include "buildsym.h" #include "gdbcmd.h" #include "gdbcore.h" #include "mach-o.h" diff --git a/gdb/mipsread.c b/gdb/mipsread.c index 52130dab200..cbfa9cc03c9 100644 --- a/gdb/mipsread.c +++ b/gdb/mipsread.c @@ -27,7 +27,6 @@ #include "bfd.h" #include "symtab.h" #include "objfiles.h" -#include "buildsym.h" #include "stabsread.h" #include "coff/sym.h"