From: Nick Clifton Date: Fri, 19 Jan 2001 04:08:52 +0000 (+0000) Subject: Add new arc core numbers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea8d0b28e68652140f7f1aa58ef2cbd1fb25a97d;p=binutils-gdb.git Add new arc core numbers. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 27920962031..f7821346f8d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-01-18 Nick Clifton + + * 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 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c index fc20d8b2938..2170ed8a6f0 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);