Add new arc core numbers.
authorNick Clifton <nickc@redhat.com>
Fri, 19 Jan 2001 04:08:52 +0000 (04:08 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 19 Jan 2001 04:08:52 +0000 (04:08 +0000)
gdb/ChangeLog
gdb/arc-tdep.c

index 27920962031922b1bd806404793f98c091d2618c..f7821346f8d9ff9f1a8b23e6d42def1bc8201e3c 100644 (file)
@@ -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
index fc20d8b2938b8388578f0f12584d202cbea34bff..2170ed8a6f0cd6708fd70cfa3b29eb1777e86f14 100644 (file)
@@ -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);