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/regcache.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/regcache.c')
-rw-r--r-- | gdb/regcache.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c index 3af8ca9..9e1d358 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -1786,10 +1786,6 @@ cooked_write_test (struct gdbarch *gdbarch) && gdbarch_ptr_bit (gdbarch) == 64 && (regnum >= gdbarch_num_regs (gdbarch) && regnum <= gdbarch_num_regs (gdbarch) + 4)) - || (bfd_arch == bfd_arch_sh - /* FPSCR_C_REGNUM in sh64 is hard to test. */ - && gdbarch_bfd_arch_info (gdbarch)->mach == bfd_mach_sh5 - && regnum == 243) || (bfd_arch == bfd_arch_spu /* SPU pseudo registers except SPU_SP_REGNUM are got by TARGET_OBJECT_SPU. */ |