From patchwork Wed May 23 04:58:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 27448 Received: (qmail 101004 invoked by alias); 23 May 2018 06:16:21 -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 100226 invoked by uid 89); 23 May 2018 06:15:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.4 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= X-HELO: gateway31.websitewelcome.com Received: from gateway31.websitewelcome.com (HELO gateway31.websitewelcome.com) (192.185.143.39) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 23 May 2018 06:15:25 +0000 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway31.websitewelcome.com (Postfix) with ESMTP id 9F7883A762 for ; Wed, 23 May 2018 01:15:08 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id LN3EfsThqPvAdLN3Ef7te3; Wed, 23 May 2018 01:15:08 -0500 X-Authority-Reason: nr=8 Received: from 174-29-44-154.hlrn.qwest.net ([174.29.44.154]:56108 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fLLri-003S5D-HD; Tue, 22 May 2018 23:59:10 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [RFA 35/42] Do not use buildsym.h in some files Date: Tue, 22 May 2018 22:58:44 -0600 Message-Id: <20180523045851.11660-36-tom@tromey.com> In-Reply-To: <20180523045851.11660-1-tom@tromey.com> References: <20180523045851.11660-1-tom@tromey.com> X-BWhitelist: no X-Source-L: No X-Exim-ID: 1fLLri-003S5D-HD X-Source-Sender: 174-29-44-154.hlrn.qwest.net (bapiya.Home) [174.29.44.154]:56108 X-Source-Auth: tom+tromey.com X-Email-Count: 5 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes A few files no longer need to include buildsym.h. 2018-05-22 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 e3cce491ee..0b7aff182b 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 9bbd0c85e4..6b87f28fb8 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 230bd860a4..d2a4e24bd4 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 52130dab20..cbfa9cc03c 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"