aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-cmd-disas.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-04-15 02:24:40 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-04-15 02:24:40 +0000
commit6d1e3329f68886e6285853d074039177915628c6 (patch)
treee53bee83c7e4c1779b1114d77a3dd2e78f5e8fb6 /gdb/mi/mi-cmd-disas.c
parentcb06fa073c57c57b8f1fab220d19984126707d92 (diff)
downloadgdb-6d1e3329f68886e6285853d074039177915628c6.zip
gdb-6d1e3329f68886e6285853d074039177915628c6.tar.gz
gdb-6d1e3329f68886e6285853d074039177915628c6.tar.bz2
2002-04-14 Elena Zannoni <ezannoni@redhat.com>
* mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN instead of tm_print_insn.
Diffstat (limited to 'gdb/mi/mi-cmd-disas.c')
-rw-r--r--gdb/mi/mi-cmd-disas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-cmd-disas.c b/gdb/mi/mi-cmd-disas.c
index 4dedb06..70054c6 100644
--- a/gdb/mi/mi-cmd-disas.c
+++ b/gdb/mi/mi-cmd-disas.c
@@ -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);