[RFA] gdbtk-cmds.c: tm_print_insn
Elena Zannoni
ezannoni@localhost.redhat.com
Tue Feb 5 19:48:00 GMT 2002
Elena Zannoni writes:
>
Committed. (After private approval from Keith).
Elena
> Instead of using tm_print_insn directly, we should use the
> TARGET_PRINT_INSN multiarch method.
> I missed this in my change.
>
> See the thread.
> http://sources.redhat.com/ml/gdb-patches/2001-08/msg00255.html
> http://sources.redhat.com/ml/gdb-patches/2001-09/msg00051.html
>
> Elena
>
> 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
>
> * generic/gdbtk-cmds.c (gdbtk_load_asm, gdbtk_print_asm): Use
> TARGET_PRINT_INSN instead of tm_print_insn.
>
>
> Index: gdbtk-cmds.c
> ===================================================================
> RCS file: /cvs/uberbaum/gdb/gdbtk/generic/gdbtk-cmds.c,v
> retrieving revision 1.48
> diff -u -p -r1.48 gdbtk-cmds.c
> --- gdbtk-cmds.c 2002/01/08 20:21:44 1.48
> +++ gdbtk-cmds.c 2002/01/24 22:15:32
> @@ -2005,7 +2005,7 @@ gdbtk_load_asm (clientData, pc, di)
> gdb_flush (gdb_stdout);
>
> result_ptr->obj_ptr = client_data->result_obj[2];
> - pc += (*tm_print_insn) (pc, di);
> + pc += TARGET_PRINT_INSN (pc, di);
> gdb_flush (gdb_stdout);
>
> client_data->widget_line_no++;
> @@ -2074,7 +2074,7 @@ gdbtk_print_asm (clientData, pc, di)
> fputs_unfiltered (" ", gdb_stdout);
> print_address (pc, gdb_stdout);
> fputs_unfiltered (":\t ", gdb_stdout);
> - pc += (*tm_print_insn) (pc, di);
> + pc += TARGET_PRINT_INSN (pc, di);
> fputs_unfiltered ("\n", gdb_stdout);
> gdb_flush (gdb_stdout);
> return pc;
More information about the Insight
mailing list