diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-04-05 15:59:23 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-04-05 15:59:23 +0000 |
commit | 46fe161328fcd6aab98d8ec922b758a6416395e0 (patch) | |
tree | 1c8aa99c059538777b7720cb164f1f79063f1872 /gdb/mi/mi-cmd-disas.c | |
parent | 7cdb7107515d5093d3448c7f482834b0791e4b69 (diff) | |
download | fsf-binutils-gdb-46fe161328fcd6aab98d8ec922b758a6416395e0.zip fsf-binutils-gdb-46fe161328fcd6aab98d8ec922b758a6416395e0.tar.gz fsf-binutils-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/mi/mi-cmd-disas.c')
-rw-r--r-- | gdb/mi/mi-cmd-disas.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |