summaryrefslogtreecommitdiff
path: root/gdb/ui-out.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-05-10 21:30:37 +0000
committerAndrew Cagney <cagney@redhat.com>2001-05-10 21:30:37 +0000
commit15a9c512e324c522bfc54c237edba596811cf7b5 (patch)
treed93a648554c29424eb173f8a66023b56b54b98ef /gdb/ui-out.h
parent0031a369c9dac9c6a012847adaf2d2dc8c6a6981 (diff)
downloadgdb-15a9c512e324c522bfc54c237edba596811cf7b5.tar.gz
2001-05-10 Andrew Cagney <ac131313@redhat.com>
* 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.
Diffstat (limited to 'gdb/ui-out.h')
-rw-r--r--gdb/ui-out.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ui-out.h b/gdb/ui-out.h
index a537412e0ab..ed2a289f0b5 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, ... }, ... ] }'' */