aboutsummaryrefslogtreecommitdiff
path: root/gdb/arc-tdep.c
diff options
context:
space:
mode:
authorKung Hsu <kung@cygnus>1995-03-01 01:39:12 +0000
committerKung Hsu <kung@cygnus>1995-03-01 01:39:12 +0000
commitabed6bc2e16f4253cfe464db18a2aefcda871a80 (patch)
tree8b23e1266e1ff0e42db7a9150a94ce0efd4ab5f9 /gdb/arc-tdep.c
parentcb58e516f932657c5eca5ed830f5d83e57904e97 (diff)
downloadgdb-abed6bc2e16f4253cfe464db18a2aefcda871a80.zip
gdb-abed6bc2e16f4253cfe464db18a2aefcda871a80.tar.gz
gdb-abed6bc2e16f4253cfe464db18a2aefcda871a80.tar.bz2
* arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
processor. * remote-arc.c (arc_wait): when a processor stops, stop other two processors too. * remote-arc.c (switch_command): switch tm_print_insn.
Diffstat (limited to 'gdb/arc-tdep.c')
-rw-r--r--gdb/arc-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c
index 385a4ca..14b9fcb 100644
--- a/gdb/arc-tdep.c
+++ b/gdb/arc-tdep.c
@@ -358,5 +358,5 @@ get_longjmp_target(pc)
void
_initialize_arc_tdep ()
{
- tm_print_insn = print_insn_arc;
+ tm_print_insn = arc_get_disassembler (bfd_mach_arc_host);
}