aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Stubbs <andrew.stubbs@st.com>2006-03-27 13:15:01 +0000
committerAndrew Stubbs <andrew.stubbs@st.com>2006-03-27 13:15:01 +0000
commit4e6cbc38c305e856716bb1f56cc4670798c0ba35 (patch)
tree29e61c21c0ac6321a514c1e4c6fadb6e7d2d1306 /gdb/sh-tdep.c
parent * elfxx-mips.c (mips_got_entry): Add more commentary. (diff)
downloadbinutils-gdb-4e6cbc38c305e856716bb1f56cc4670798c0ba35.tar.gz
binutils-gdb-4e6cbc38c305e856716bb1f56cc4670798c0ba35.tar.bz2
binutils-gdb-4e6cbc38c305e856716bb1f56cc4670798c0ba35.zip
2006-03-27 Andrew Stubbs <andrew.stubbs@st.com>
* sh-tdep.c (sh_gdbarch_init): Add missing architectures.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r--gdb/sh-tdep.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index a2fb0d40ced..e530893d19b 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;