From 127431f9a7b56cb6b4daf8887cca8ff48064fa40 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 10 May 2001 21:30:37 +0000 Subject: 2001-05-10 Andrew Cagney * ui-out.h (make_cleanup_ui_out_begin_end): Declare. * ui-out.c (struct ui_out_end_cleanup_data): Define. (do_cleanup_end): New function. Replace do_list_end. (make_cleanup_ui_out_end): New function. (make_cleanup_ui_out_begin_end): New function. (make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end. --- gdb/ui-out.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/ui-out.h') diff --git a/gdb/ui-out.h b/gdb/ui-out.h index a537412..ed2a289 100644 --- a/gdb/ui-out.h +++ b/gdb/ui-out.h @@ -80,6 +80,10 @@ extern void ui_out_begin (struct ui_out *uiout, extern void ui_out_end (struct ui_out *uiout, enum ui_out_type type); +extern struct cleanup *ui_out_begin_cleanup_end (struct ui_out *uiout, + enum ui_out_type level_type, + const char *id); + /* A table can be considered a special tupple/list combination with the implied structure: ``table = { hdr = { header, ... } , body = [ { field, ... }, ... ] }'' */ -- cgit v1.1