public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/2] gdb: rename rs6000-nat.c to rs6000-aix-nat.c
@ 2021-11-16  3:04 Simon Marchi
  2021-11-16  3:04 ` [PATCH 2/2] gdb: move AIX_TEXT_SEGMENT_BASE to rs6000-aix-tdep.c, remove rs6000-tdep.h Simon Marchi
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Simon Marchi @ 2021-11-16  3:04 UTC (permalink / raw)
  To: gdb-patches

This file seems to be AIX-specific, according to its contents and
configure.nat.  Rename it to rs6000-aix-nat.c, to make that clear (and
to follow the convention).

Change-Id: Ib418dddc6b79b2e28f64431121742b5e87f5f4f5
---
 gdb/Makefile.in                        | 2 +-
 gdb/configure.nat                      | 2 +-
 gdb/{rs6000-nat.c => rs6000-aix-nat.c} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename gdb/{rs6000-nat.c => rs6000-aix-nat.c} (100%)

diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index a51d63755ef9..5e6d74e455e6 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -2288,8 +2288,8 @@ ALLDEPFILES = \
 	riscv-ravenscar-thread.c \
 	riscv-tdep.c \
 	rl78-tdep.c \
+	rs6000-aix-nat.c \
 	rs6000-lynx178-tdep.c \
-	rs6000-nat.c \
 	rs6000-tdep.c \
 	rx-tdep.c \
 	s390-linux-nat.c \
diff --git a/gdb/configure.nat b/gdb/configure.nat
index d42cf13e691b..bdd05032602e 100644
--- a/gdb/configure.nat
+++ b/gdb/configure.nat
@@ -103,7 +103,7 @@ case ${gdb_host} in
 		# Host: IBM PowerPC running AIX aix-thread.o is not
 		# listed in NATDEPFILES as it is pulled in by
 		# configure.
-		NATDEPFILES="${NATDEPFILES} rs6000-nat.o"
+		NATDEPFILES="${NATDEPFILES} rs6000-aix-nat.o"
 
 		# When compiled with cc, for debugging, this argument
 		# should be passed.  We have no idea who our current
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-aix-nat.c
similarity index 100%
rename from gdb/rs6000-nat.c
rename to gdb/rs6000-aix-nat.c
-- 
2.33.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-11-18 21:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16  3:04 [PATCH 1/2] gdb: rename rs6000-nat.c to rs6000-aix-nat.c Simon Marchi
2021-11-16  3:04 ` [PATCH 2/2] gdb: move AIX_TEXT_SEGMENT_BASE to rs6000-aix-tdep.c, remove rs6000-tdep.h Simon Marchi
2021-11-16 17:02 ` [PATCH 1/2] gdb: rename rs6000-nat.c to rs6000-aix-nat.c John Baldwin
2021-11-18 15:41 ` Tom Tromey
2021-11-18 16:32   ` Simon Marchi
2021-11-18 19:40     ` Ulrich Weigand
2021-11-18 21:36       ` Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).