aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/mi/mi-cmd-disas.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6475519..9cfb689 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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.
2002-04-14 Andrew Cagney <ac131313@redhat.com>
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);