From patchwork Sun Dec 6 17:46:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 9909 Received: (qmail 53489 invoked by alias); 6 Dec 2015 17:46:51 -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 53474 invoked by uid 89); 6 Dec 2015 17:46:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL, BAYES_50, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sun, 06 Dec 2015 17:46:50 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 405F41165D3; Sun, 6 Dec 2015 12:46:48 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kKybCRjJWoZD; Sun, 6 Dec 2015 12:46:48 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 113A71165B0; Sun, 6 Dec 2015 12:46:48 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id A4E14445B6; Sun, 6 Dec 2015 18:46:46 +0100 (CET) Date: Sun, 6 Dec 2015 18:46:46 +0100 From: Joel Brobecker To: Mike Stump Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Rename i386-nat.h to x86-nat.h for TAGS. Message-ID: <20151206174646.GM10969@adacore.com> References: <71435DC6-FBF8-46DA-BA75-FEBC6FBFE4D1@comcast.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <71435DC6-FBF8-46DA-BA75-FEBC6FBFE4D1@comcast.net> User-Agent: Mutt/1.5.23 (2014-03-12) > Here is a simple one that someone overlooked. > > Ok? Thanks for the patch, and sorry for taking months before replying. Feel free to ping us a couple of weeks after submission, and every week thereafter. We should have picked up on your patch months ago, since it was so trivial. Attached is what I just checked in. A quick grep of the entire set of sources revealed a couple more locations where we still referenced the old file names. > > Can someone apply it if approved, thanks. I formatted this with format-patch, but format-patch I bet won’t work with Mail. :-( As for git-email, well, I don’t have that set up, and the system that sends email isn’t the system I develop on. > > gdb/Makefile.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gdb/Makefile.in b/gdb/Makefile.in > index faa6c86..04251a4 100644 > --- a/gdb/Makefile.in > +++ b/gdb/Makefile.in > @@ -959,7 +959,7 @@ psymtab.h psympriv.h progspace.h bfin-tdep.h \ > amd64-darwin-tdep.h charset-list.h \ > config/djgpp/langinfo.h config/djgpp/nl_types.h darwin-nat.h \ > dicos-tdep.h filesystem.h gcore.h gdb_wchar.h hppabsd-tdep.h \ > -i386-darwin-tdep.h i386-nat.h linux-record.h moxie-tdep.h nios2-tdep.h \ > +i386-darwin-tdep.h x86-nat.h linux-record.h moxie-tdep.h nios2-tdep.h \ > ft32-tdep.h \ > osdata.h procfs.h python/py-event.h python/py-events.h python/py-stopevent.h \ > python/python-internal.h python/python.h ravenscar-thread.h record.h \ > -- > 1.9.1 From 030f17b5eb56b6e48588f6da015e05f568144692 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Sun, 6 Dec 2015 18:38:24 +0100 Subject: [PATCH] Replace remaining references to i386-nat with x86-nat instead. i386-nat.[hc] got renamed to x86-nat.[hc] a while back, but somehow 3 references to the old file name remained past the renaming. This fixes all of them. gdb/ChangeLog (with Mike Stump ): * Makefile.in (TAGS): Replace i386-nat.h by x86-nat.h. * x86-nat.c: Replace remaining references to i386-nat by reference to x86-nat instead. --- gdb/ChangeLog | 7 +++++++ gdb/Makefile.in | 2 +- gdb/x86-nat.c | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3fda785..9bbf827 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2015-12-06 Mike Stump + Joel Brobecker + + * Makefile.in (TAGS): Replace i386-nat.h by x86-nat.h. + * x86-nat.c: Replace remaining references to i386-nat + by reference to x86-nat instead. + 2015-12-05 Joel Brobecker GDB 7.10.1 released. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 14ad405..3eadbbc 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -965,7 +965,7 @@ psymtab.h psympriv.h progspace.h bfin-tdep.h \ amd64-darwin-tdep.h charset-list.h \ config/djgpp/langinfo.h config/djgpp/nl_types.h darwin-nat.h \ dicos-tdep.h filesystem.h gcore.h gdb_wchar.h hppabsd-tdep.h \ -i386-darwin-tdep.h i386-nat.h linux-record.h moxie-tdep.h nios2-tdep.h \ +i386-darwin-tdep.h x86-nat.h linux-record.h moxie-tdep.h nios2-tdep.h \ ft32-tdep.h \ osdata.h procfs.h python/py-event.h python/py-events.h python/py-stopevent.h \ python/python-internal.h python/python.h ravenscar-thread.h record.h \ diff --git a/gdb/x86-nat.c b/gdb/x86-nat.c index bfdf0d0..b465dc8 100644 --- a/gdb/x86-nat.c +++ b/gdb/x86-nat.c @@ -107,7 +107,7 @@ x86_debug_reg_state (pid_t pid) return &x86_process_info_get (pid)->state; } -/* See declaration in i386-nat.h. */ +/* See declaration in x86-nat.h. */ void x86_forget_process (pid_t pid) @@ -251,7 +251,7 @@ x86_remove_hw_breakpoint (struct target_ops *self, struct gdbarch *gdbarch, extreme example, consider the case where all the watchpoints watch the same address and the same region length: then we can handle a virtually unlimited number of watchpoints, due to debug register - sharing implemented via reference counts in i386-nat.c. */ + sharing implemented via reference counts in x86-nat.c. */ static int x86_can_use_hw_breakpoint (struct target_ops *self, -- 2.1.4