2002-04-14 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 15 Apr 2002 02:24:40 +0000 (02:24 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 15 Apr 2002 02:24:40 +0000 (02:24 +0000)
        * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN
        instead of tm_print_insn.

gdb/ChangeLog
gdb/mi/mi-cmd-disas.c

index 6475519d5d9f0bf108a4139b7105f1dc68573032..9cfb689d77cd26084671ab6e97e707d5ae212f06 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-14  Elena Zannoni  <ezannoni@redhat.com>
+
+        * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN
+        instead of tm_print_insn.
+
 2002-04-14  Elena Zannoni  <ezannoni@redhat.com>
 
        * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo.
index 4dedb06033bceba777d7a1c26bfa86735738b1f3..70054c635c8662bc97f8e284e99ba3823f97662b 100644 (file)
@@ -123,7 +123,7 @@ dump_insns (disassemble_info * di, CORE_ADDR low, CORE_ADDR high,
        xfree (name);
 
       ui_file_rewind (stb->stream);
-      pc += (*tm_print_insn) (pc, di);
+      pc += TARGET_PRINT_INSN (pc, di);
       ui_out_field_stream (uiout, "inst", stb);
       ui_file_rewind (stb->stream);
       ui_out_tuple_end (uiout);