From 0e5fae36f1d78711b77418146b907060ea34470f Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 30 Oct 2013 18:57:08 +0100 Subject: S/390: Rename source files to *-linux-* As suggested before, rename the S/390-related source files (tdep and nat) such that "-linux-" occurs in the file name, like with other GNU/Linux targets. Since no other operating system is currently supported by GDB on this architecture, this isn't strictly necessary. But the old names sometimes caused GDB contributors to miss these files when performing a change that affects all GNU/Linux targets. The latest such incident was observed here: https://sourceware.org/ml/gdb-patches/2013-09/msg00619.html gdb/ 2013-10-30 Andreas Arnez * s390-tdep.h: Rename to... * s390-linux-tdep.h: ...here. * s390-tdep.c: Rename to... * s390-linux-tdep.c: ...here. Adjust #include. * s390-nat.c: Rename to... * s390-linux-nat.c: ...here. Adjust #include. * config/s390/s390.mh: Rename to... * config/s390/linux.mh: ...here. Reflect rename s390-nat.o -> s390-linux-nat.o. * configure.host: Reflect host rename "s390" -> "linux". * configure.tgt: Reflect rename s390-tdep.o -> s390-linux-tdep.o. * Makefile.in (ALL_TARGET_OBS): Likewise. (HFILES_NO_SRCDIR): Reflect rename s390-tdep.h -> s390-linux-tdep.h. (ALLDEPFILES): Reflect rename of .c files. --- gdb/config/s390/linux.mh | 8 ++++++++ gdb/config/s390/s390.mh | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 gdb/config/s390/linux.mh delete mode 100644 gdb/config/s390/s390.mh (limited to 'gdb/config') diff --git a/gdb/config/s390/linux.mh b/gdb/config/s390/linux.mh new file mode 100644 index 0000000..59bab83 --- /dev/null +++ b/gdb/config/s390/linux.mh @@ -0,0 +1,8 @@ +# Host: S390, running Linux +NAT_FILE= config/nm-linux.h +NATDEPFILES= inf-ptrace.o fork-child.o s390-linux-nat.o \ + linux-thread-db.o proc-service.o \ + linux-nat.o linux-osdata.o linux-fork.o linux-procfs.o linux-ptrace.o \ + linux-waitpid.o +NAT_CDEPS = $(srcdir)/proc-service.list +LOADLIBES = -ldl $(RDYNAMIC) diff --git a/gdb/config/s390/s390.mh b/gdb/config/s390/s390.mh deleted file mode 100644 index 76d82e5..0000000 --- a/gdb/config/s390/s390.mh +++ /dev/null @@ -1,8 +0,0 @@ -# Host: S390, running Linux -NAT_FILE= config/nm-linux.h -NATDEPFILES= inf-ptrace.o fork-child.o s390-nat.o \ - linux-thread-db.o proc-service.o \ - linux-nat.o linux-osdata.o linux-fork.o linux-procfs.o linux-ptrace.o \ - linux-waitpid.o -NAT_CDEPS = $(srcdir)/proc-service.list -LOADLIBES = -ldl $(RDYNAMIC) -- cgit v1.1