diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-10-30 18:57:08 +0100 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-10-30 18:57:08 +0100 |
commit | 0e5fae36f1d78711b77418146b907060ea34470f (patch) | |
tree | 5133d6ec7b406bda6ceccd7f2f284979cd680304 /gdb/configure.tgt | |
parent | 34201ae3ae19972196c96a3c7abcea2b0996422e (diff) | |
download | binutils-gdb-0e5fae36f1d78711b77418146b907060ea34470f.tar.gz |
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.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r-- | gdb/configure.tgt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt index ea0faf1b313..47e98d9bd3c 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -464,9 +464,9 @@ powerpc*-*-*) fi ;; -s390*-*-*) +s390*-*-linux*) # Target: S390 running Linux - gdb_target_obs="s390-tdep.o solib-svr4.o linux-tdep.o" + gdb_target_obs="s390-linux-tdep.o solib-svr4.o linux-tdep.o" build_gdbserver=yes ;; |