diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-09-03 07:31:55 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-09-03 07:31:55 +0000 |
commit | ee36741e6385ff705602158daca8c511960ee7b2 (patch) | |
tree | 6530cd91c915609b24c8dcc2b4f40e0245350621 /gdb/sh3-rom.c | |
parent | b5e935ae855757d6f0b51b28b0bbc48a4c996f69 (diff) | |
download | gdb-ee36741e6385ff705602158daca8c511960ee7b2.zip gdb-ee36741e6385ff705602158daca8c511960ee7b2.tar.gz gdb-ee36741e6385ff705602158daca8c511960ee7b2.tar.bz2 |
Allow backends to set the architecture using bfd_architecture enum
instead of some magic name.
Diffstat (limited to 'gdb/sh3-rom.c')
-rw-r--r-- | gdb/sh3-rom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sh3-rom.c b/gdb/sh3-rom.c index a4e3b71..8d8705c 100644 --- a/gdb/sh3-rom.c +++ b/gdb/sh3-rom.c @@ -284,7 +284,7 @@ sh3_open (args, from_tty) } /* If we connected successfully, we know the processor is an SH3. */ - set_architecture ("sh3", 0); + set_architecture_from_arch_mach (bfd_arch_sh, bfd_mach_sh3); } @@ -333,7 +333,7 @@ sh3e_open (args, from_tty) } /* If we connected successfully, we know the processor is an SH3E. */ - set_architecture ("sh3e", 0); + set_architecture_from_arch_mach (bfd_arch_sh, bfd_mach_sh3); } static void |