diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/sh-tdep.c | 6 |
2 files changed, 10 insertions, 0 deletions
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 <andrew.stubbs@st.com> + + * sh-tdep.c (sh_gdbarch_init): Add missing architectures. + 2006-03-27 Nick Roberts <nickrob@snap.net.nz> * 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; |