From 46fe161328fcd6aab98d8ec922b758a6416395e0 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Fri, 5 Apr 2002 15:59:23 +0000 Subject: [PATCH] 2002-04-05 Elena Zannoni * mi-cmd-disas.c (mi_cmd_disassemble): Use TARGET_PRINT_INSN instead of tm_print_insn. Update copyright year. --- gdb/mi/ChangeLog | 6 ++++++ gdb/mi/mi-cmd-disas.c | 6 +++--- 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 + + * 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 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); -- 2.7.4