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 | |
parent | 5dbd90485c7ad1c93344d96ae381b25430467433 (diff) | |
download | gdb-ea8d0b28e68652140f7f1aa58ef2cbd1fb25a97d.zip gdb-ea8d0b28e68652140f7f1aa58ef2cbd1fb25a97d.tar.gz gdb-ea8d0b28e68652140f7f1aa58ef2cbd1fb25a97d.tar.bz2 |
Add new arc core numbers.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/arc-tdep.c | 15 |
2 files changed, 12 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2792096..f782134 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-01-18 Nick Clifton <nickc@redhat.com> + + * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers. + (arc_print_insn): No bfd available, so pass NULL to + arc_get_disassembler. + 2001-01-09 James Ingham <jingham@inghji.apple.com> * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup 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); |