This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] old ui_out_tuple_begin_end patch
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: Elena Zannoni <ezannoni at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, kevinb at redhat dot com
- Date: Sun, 2 Feb 2003 20:23:52 -0500
- Subject: Re: [PATCH] old ui_out_tuple_begin_end patch
- References: <15931.4103.59505.98228@localhost.redhat.com>
Committed, this also fixes PR 742 and 743.
elena
Elena Zannoni writes:
>
> Gdb still gets random errors from failing the assertions in ui-out.c
> about the MAX_UI_OUT_LEVELS being reached.
>
> I have found these old patches from Kevin that cleaned up a few
> things. I cleaned up a few more things, so now there is no use left
> of ui_out_tuple_begin, etc. I am going to commit them tomorrow.
>
>
> http://sources.redhat.com/ml/gdb-patches/2002-07/msg00514.html
> http://sources.redhat.com/ml/gdb-patches/2002-07/msg00517.html
>
> Elena
>
>
> 2003-01-31 Elena Zannoni <ezannoni@redhat.com>
>
> * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
> (do_mixed_source_and_assembly): Use
> make_cleanup_ui_out_tuple_begin_end and
> make_cleanup_ui_out_tuple_begin_end.
> (do_mixed_source_and_assembly): Ditto.
> * thread.c (do_captured_list_thread_ids): Ditto.
> * ui-out.h (ui_out_table_begin, ui_out_list_begin,
> ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
> ui_out_tuple_end): Delete prototypes.
> * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
> ui_out_list_end, ui_out_tuple_end): Delete.
>
> From Kevin Buettner <kevinb@redhat.com>:
> * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
> * ui-out.c (make_cleanup_ui_out_table_begin_end)
> (do_cleanup_table_end): New functions.
> * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
> Use cleanups to invoke_ui_out_tuple_end().
> (breakpoint_1): Use cleanup to invoke ui_out_table_end().
> * cli/cli-setshow.c (cmd_show_list): Use
> make_cleanup_ui_out_tuple_begin_end.
>