From 4e6cbc38c305e856716bb1f56cc4670798c0ba35 Mon Sep 17 00:00:00 2001 From: Andrew Stubbs Date: Mon, 27 Mar 2006 13:15:01 +0000 Subject: 2006-03-27 Andrew Stubbs * sh-tdep.c (sh_gdbarch_init): Add missing architectures. --- gdb/ChangeLog | 4 ++++ gdb/sh-tdep.c | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 94e8b0d..35cefc2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2006-03-27 Andrew Stubbs + + * sh-tdep.c (sh_gdbarch_init): Add missing architectures. + 2006-03-27 Nick Roberts * varobj.c (c_name_of_child, c_value_of_child): Allow non-zero diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index a2fb0d4..e530893 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -2541,10 +2541,13 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) break; case bfd_mach_sh3: + case bfd_mach_sh3_nommu: + case bfd_mach_sh2a_nofpu_or_sh3_nommu: set_gdbarch_register_name (gdbarch, sh_sh3_register_name); break; case bfd_mach_sh3e: + case bfd_mach_sh2a_or_sh3e: /* doubles on sh2e and sh3e are actually 4 byte. */ set_gdbarch_double_bit (gdbarch, 4 * TARGET_CHAR_BIT); @@ -2574,6 +2577,9 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) case bfd_mach_sh4_nofpu: case bfd_mach_sh4a_nofpu: + case bfd_mach_sh4_nommu_nofpu: + case bfd_mach_sh2a_nofpu_or_sh4_nommu_nofpu: + case bfd_mach_sh2a_or_sh4: set_gdbarch_register_name (gdbarch, sh_sh4_nofpu_register_name); break; -- cgit v1.1