diff options
author | Nick Clifton <nickc@redhat.com> | 2001-01-19 04:08:52 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-01-19 04:08:52 +0000 |
commit | ea8d0b28e68652140f7f1aa58ef2cbd1fb25a97d (patch) | |
tree | 5cd5f6db1a4a1c84c822978be297a67329c9ead6 /gdb/arc-tdep.c | |
parent | 5dbd90485c7ad1c93344d96ae381b25430467433 (diff) | |
download | gdb-ea8d0b28e68652140f7f1aa58ef2cbd1fb25a97d.zip gdb-ea8d0b28e68652140f7f1aa58ef2cbd1fb25a97d.tar.gz gdb-ea8d0b28e68652140f7f1aa58ef2cbd1fb25a97d.tar.bz2 |
Add new arc core numbers.
Diffstat (limited to 'gdb/arc-tdep.c')
-rw-r--r-- | gdb/arc-tdep.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c index fc20d8b..2170ed8 100644 --- a/gdb/arc-tdep.c +++ b/gdb/arc-tdep.c @@ -44,13 +44,11 @@ struct } arc_cpu_type_table[] = { - { - "base", bfd_mach_arc_base - } - , - { - NULL, 0 - } + { "arc5", bfd_mach_arc_5 }, + { "arc6", bfd_mach_arc_6 }, + { "arc7", bfd_mach_arc_7 }, + { "arc8", bfd_mach_arc_8 }, + { NULL, 0 } }; /* Used by simulator. */ @@ -618,8 +616,7 @@ arc_print_insn (bfd_vma vma, disassemble_info *info) { current_mach = arc_bfd_mach_type; current_endian = TARGET_BYTE_ORDER; - current_disasm = arc_get_disassembler (current_mach, - current_endian == BIG_ENDIAN); + current_disasm = arc_get_disassembler (NULL); } return (*current_disasm) (vma, info); |