S/390: Rename source files to *-linux-*
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 30 Oct 2013 17:57:08 +0000 (18:57 +0100)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 30 Oct 2013 17:57:08 +0000 (18:57 +0100)
commit0e5fae36f1d78711b77418146b907060ea34470f
tree5133d6ec7b406bda6ceccd7f2f284979cd680304
parent34201ae3ae19972196c96a3c7abcea2b0996422e
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  <arnez@linux.vnet.ibm.com>

* 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.
12 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/config/s390/linux.mh [new file with mode: 0644]
gdb/config/s390/s390.mh [deleted file]
gdb/configure.host
gdb/configure.tgt
gdb/s390-linux-nat.c [new file with mode: 0644]
gdb/s390-linux-tdep.c [new file with mode: 0644]
gdb/s390-linux-tdep.h [new file with mode: 0644]
gdb/s390-nat.c [deleted file]
gdb/s390-tdep.c [deleted file]
gdb/s390-tdep.h [deleted file]