From patchwork Thu Feb 14 14:48:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Schwinge X-Patchwork-Id: 31465 Received: (qmail 97367 invoked by alias); 14 Feb 2019 14:48:44 -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 97146 invoked by uid 89); 14 Feb 2019 14:48:26 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 14 Feb 2019 14:48:24 +0000 Received: from svr-orw-mbx-06.mgc.mentorg.com ([147.34.90.206]) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1guIJJ-0006gB-8F from Thomas_Schwinge@mentor.com ; Thu, 14 Feb 2019 06:48:21 -0800 Received: from svr-orw-mbx-04.mgc.mentorg.com (147.34.90.204) by SVR-ORW-MBX-06.mgc.mentorg.com (147.34.90.206) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Thu, 14 Feb 2019 06:48:19 -0800 Received: from tftp-cs (147.34.91.1) by svr-orw-mbx-04.mgc.mentorg.com (147.34.90.204) with Microsoft SMTP Server id 15.0.1320.4 via Frontend Transport; Thu, 14 Feb 2019 06:48:19 -0800 Received: by tftp-cs (Postfix, from userid 49978) id 88CCDC2320; Thu, 14 Feb 2019 06:48:18 -0800 (PST) From: Thomas Schwinge To: CC: Pierre Muller Subject: Re: [RFC] nm header removal: Get rid of config/i386/nm-i386gnu.h header In-Reply-To: <87oc4u166a.fsf@kepler.schwinge.homeip.net> References: <000601cbe7de$3da74740$b8f5d5c0$@muller@ics-cnrs.unistra.fr> <87oc4u166a.fsf@kepler.schwinge.homeip.net> User-Agent: Notmuch/0.9-125-g4686d11 (http://notmuchmail.org) Emacs/25.2.2 (x86_64-pc-linux-gnu) Date: Thu, 14 Feb 2019 15:48:08 +0100 Message-ID: <87wom2ifyv.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 Hi! Not quite ready to remove the 'gdb/config/i386/nm-i386gnu.h' file (but getting there), but at least: On Tue, 29 Mar 2011 14:07:25 +0200, I wrote: > On Mon, 21 Mar 2011 16:40:00 +0100, "Pierre Muller" wrote: > > diff --git a/gdb/config/i386/nm-i386gnu.h b/gdb/config/i386/nm-i386gnu.h > > deleted file mode 100644 > > index 8ce6c79..0000000 > > --- a/gdb/config/i386/nm-i386gnu.h > > +++ /dev/null > > > -extern char *gnu_target_pid_to_str (int pid); > > (This indeed isn't used / defined anywhere.) Pushed to master the attached commit b1041ae0ae8a2f1c51e75b45004686f1956078ed "[gdb, hurd] Remove long obsolete 'gnu_target_pid_to_str' function declaration". Grüße Thomas From b1041ae0ae8a2f1c51e75b45004686f1956078ed Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 29 Mar 2011 14:02:11 +0200 Subject: [PATCH] [gdb, hurd] Remove long obsolete 'gnu_target_pid_to_str' function declaration ... for function definition removed/renamed in 1999. ;-) gdb/ * config/i386/nm-i386gnu.h (gnu_target_pid_to_str): Remove. --- gdb/ChangeLog | 4 ++++ gdb/config/i386/nm-i386gnu.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 34fe174cb2..e6d86e2552 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2019-02-14 Thomas Schwinge + + * config/i386/nm-i386gnu.h (gnu_target_pid_to_str): Remove. + 2019-02-14 Frederic Konrad * riscv-rdep.c (riscv_type_alignment): Handle TYPE_CODE_RANGE. diff --git a/gdb/config/i386/nm-i386gnu.h b/gdb/config/i386/nm-i386gnu.h index 99f3fc79a0..8f36102da4 100644 --- a/gdb/config/i386/nm-i386gnu.h +++ b/gdb/config/i386/nm-i386gnu.h @@ -24,8 +24,6 @@ #include #include "regcache.h" -extern char *gnu_target_pid_to_str (int pid); - /* Thread flavors used in re-setting the T bit. */ #define THREAD_STATE_FLAVOR i386_REGS_SEGS_STATE #define THREAD_STATE_SIZE i386_THREAD_STATE_COUNT -- 2.19.2