From: Elena Zannoni Date: Fri, 5 Apr 2002 15:59:23 +0000 (+0000) Subject: 2002-04-05 Elena Zannoni X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46fe161328fcd6aab98d8ec922b758a6416395e0;p=binutils-gdb.git 2002-04-05 Elena Zannoni * mi-cmd-disas.c (mi_cmd_disassemble): Use TARGET_PRINT_INSN instead of tm_print_insn. Update copyright year. --- diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index 25d2313bdc2..1c47618d18e 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,9 @@ +2002-04-05 Elena Zannoni + + * mi-cmd-disas.c (mi_cmd_disassemble): Use TARGET_PRINT_INSN + instead of tm_print_insn. + Update copyright year. + 2002-04-04 Daniel Jacobowitz * 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 c155fc741a2..3db8b002297 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);