This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] mi-cmd-disas.c: use TARGET_PRINT_INSN
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 5 Apr 2002 10:59:31 -0500
- Subject: [PATCH] mi-cmd-disas.c: use TARGET_PRINT_INSN
I just committed this.
2002-04-05 Elena Zannoni <ezannoni@redhat.com>
* mi-cmd-disas.c (mi_cmd_disassemble): Use TARGET_PRINT_INSN
instead of tm_print_insn.
Update copyright year.
Index: mi-cmd-disas.c
===================================================================
RCS file: /cvs/uberbaum/gdb/mi/mi-cmd-disas.c,v
retrieving revision 1.13
diff -u -p -r1.13 mi-cmd-disas.c
--- mi-cmd-disas.c 2002/04/04 20:23:36 1.13
+++ mi-cmd-disas.c 2002/04/05 15:57:35
@@ -1,5 +1,5 @@
/* MI Command Set - disassemble commands.
- Copyright 2000, 2001 Free Software Foundation, Inc.
+ Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Cygnus Solutions (a Red Hat company).
This file is part of GDB.
@@ -438,7 +438,7 @@ mi_cmd_disassemble (char *command, char
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);
@@ -486,7 +486,7 @@ mi_cmd_disassemble (char *command, char
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);