2002-04-05 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 5 Apr 2002 15:59:23 +0000 (15:59 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 5 Apr 2002 15:59:23 +0000 (15:59 +0000)
* mi-cmd-disas.c (mi_cmd_disassemble): Use TARGET_PRINT_INSN
instead of tm_print_insn.
Update copyright year.

gdb/mi/ChangeLog
gdb/mi/mi-cmd-disas.c

index 25d2313bdc2752ca520c32b238844d76c1b9bf70..1c47618d18e4b8ec0c3af77bbf42b76029afcee9 100644 (file)
@@ -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
index c155fc741a2eaa81405f6e6ac4d77de9fc57e1a2..3db8b0022973968e3f73333fe888acb982c1b6ab 100644 (file)
@@ -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);