aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-04-05 15:59:23 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-04-05 15:59:23 +0000
commit46fe161328fcd6aab98d8ec922b758a6416395e0 (patch)
tree1c8aa99c059538777b7720cb164f1f79063f1872 /gdb
parent7cdb7107515d5093d3448c7f482834b0791e4b69 (diff)
downloadgdb-46fe161328fcd6aab98d8ec922b758a6416395e0.zip
gdb-46fe161328fcd6aab98d8ec922b758a6416395e0.tar.gz
gdb-46fe161328fcd6aab98d8ec922b758a6416395e0.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/mi/ChangeLog6
-rw-r--r--gdb/mi/mi-cmd-disas.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index 25d2313..1c47618 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2002-04-04 Daniel Jacobowitz <drow@mvista.com>
* mi-cmd-disas.c (mi_cmd_disassemble): Skip end-of-function
diff --git a/gdb/mi/mi-cmd-disas.c b/gdb/mi/mi-cmd-disas.c
index c155fc7..3db8b00 100644
--- a/gdb/mi/mi-cmd-disas.c
+++ b/gdb/mi/mi-cmd-disas.c
@@ -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 **argv, int argc)
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 **argv, int argc)
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);