aboutsummaryrefslogtreecommitdiff
path: root/gdb/arc-tdep.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-01-19 04:08:52 +0000
committerNick Clifton <nickc@redhat.com>2001-01-19 04:08:52 +0000
commitea8d0b28e68652140f7f1aa58ef2cbd1fb25a97d (patch)
tree5cd5f6db1a4a1c84c822978be297a67329c9ead6 /gdb/arc-tdep.c
parent5dbd90485c7ad1c93344d96ae381b25430467433 (diff)
downloadgdb-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.c15
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);