diff options
author | Andrew Stubbs <andrew.stubbs@st.com> | 2006-03-27 13:15:01 +0000 |
---|---|---|
committer | Andrew Stubbs <andrew.stubbs@st.com> | 2006-03-27 13:15:01 +0000 |
commit | 4e6cbc38c305e856716bb1f56cc4670798c0ba35 (patch) | |
tree | 29e61c21c0ac6321a514c1e4c6fadb6e7d2d1306 | |
parent | ead49a57e845c028e794fdeb6f3b2492e70b918e (diff) | |
download | gdb-4e6cbc38c305e856716bb1f56cc4670798c0ba35.zip gdb-4e6cbc38c305e856716bb1f56cc4670798c0ba35.tar.gz gdb-4e6cbc38c305e856716bb1f56cc4670798c0ba35.tar.bz2 |
2006-03-27 Andrew Stubbs <andrew.stubbs@st.com>
* sh-tdep.c (sh_gdbarch_init): Add missing architectures.
-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; |