diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-05-10 21:30:37 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-05-10 21:30:37 +0000 |
commit | 127431f9a7b56cb6b4daf8887cca8ff48064fa40 (patch) | |
tree | c1549369d088188d094b5350183085b1e386c754 /gdb/ui-out.h | |
parent | 5dbc5e5f2541c46861dc2ce3d13ea15c0a5bdc45 (diff) | |
download | gdb-127431f9a7b56cb6b4daf8887cca8ff48064fa40.zip gdb-127431f9a7b56cb6b4daf8887cca8ff48064fa40.tar.gz gdb-127431f9a7b56cb6b4daf8887cca8ff48064fa40.tar.bz2 |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
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, ... }, ... ] }'' */ |