diff options
author | Pedro Alves <palves@redhat.com> | 2018-04-16 12:50:03 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2018-04-16 13:20:15 +0100 |
commit | 8a3de5e1a3fb7bdf89195388f127ecf429294f6f (patch) | |
tree | b6f191890f8a3a9fef05e09a21403e4f619162c7 /gdb/sh-tdep.c | |
parent | a2a79012fe7ad4bcc354c14410679ccb705d5326 (diff) | |
download | gdb-8a3de5e1a3fb7bdf89195388f127ecf429294f6f.zip gdb-8a3de5e1a3fb7bdf89195388f127ecf429294f6f.tar.gz gdb-8a3de5e1a3fb7bdf89195388f127ecf429294f6f.tar.bz2 |
gdb: Remove support for SH-5/SH64
Since bfd dropped support for SH-5, there's no point in keeping it in
GDB either.
This restores --enable-targets=all builds.
gdb/ChangeLog:
2018-04-16 Pedro Alves <palves@redhat.com>
* MAINTAINERS (sh): Remove.
* Makefile.in (ALL_TARGET_OBS): Remove sh64-tdep.o.
(HFILES_NO_SRCDIR): Remove sh64-tdep.h.
(ALLDEPFILES): Remove sh64-tdep.c.
* NEWS: Mentions that support for SH-5/SH64 is removed.
* configure.tgt (sh*-*-linux*): Remove reference to sh64-tdep.o.
(sh*-*-openbsd*): Ditto.
(sh64-*-elf*): Remove.
(sh*): Remove.
* regcache.c (cooked_write_test): Remove bfd_mach_sh5 case.
* sh-linux-tdep.c: Remove reference to bfd_mach_sh5.
* sh-tdep.c: No longer include "sh64-tdep.h".
(sh_gdbarch_init): Remove reference to bfd_mach_sh5.
* sh64-tdep.c, sh64-tdep.h: Remove files.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r-- | gdb/sh-tdep.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 75ea673..edf7e94 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -41,7 +41,6 @@ #include "objfiles.h" #include "sh-tdep.h" -#include "sh64-tdep.h" #include "elf-bfd.h" #include "solib-svr4.h" @@ -2257,10 +2256,6 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) struct gdbarch *gdbarch; struct gdbarch_tdep *tdep; - /* SH5 is handled entirely in sh64-tdep.c. */ - if (info.bfd_arch_info->mach == bfd_mach_sh5) - return sh64_gdbarch_init (info, arches); - /* If there is already a candidate, use it. */ arches = gdbarch_list_lookup_by_info (arches, &info); if (arches != NULL) |