aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-05-12 04:08:24 +0000
committerAndrew Cagney <cagney@redhat.com>2001-05-12 04:08:24 +0000
commit666547aa9ebfac79a2f7607e0621f6a55c8c6f30 (patch)
tree9dbf9e34710e03caaccc11bedddbf124c5f2448c /gdb/ui-out.c
parent30c98d84cd2c82265d56de5e3bc6a25b291ff65c (diff)
downloadgdb-666547aa9ebfac79a2f7607e0621f6a55c8c6f30.zip
gdb-666547aa9ebfac79a2f7607e0621f6a55c8c6f30.tar.gz
gdb-666547aa9ebfac79a2f7607e0621f6a55c8c6f30.tar.bz2
s/ui_out_list/ui_out_tupple/
Diffstat (limited to 'gdb/ui-out.c')
-rw-r--r--gdb/ui-out.c27
1 files changed, 23 insertions, 4 deletions
diff --git a/gdb/ui-out.c b/gdb/ui-out.c
index 3e0f55c..b5c1006 100644
--- a/gdb/ui-out.c
+++ b/gdb/ui-out.c
@@ -332,10 +332,15 @@ specified after table_body.");
}
void
-ui_out_list_begin (struct ui_out *uiout,
- char *id)
+ui_out_list_begin (struct ui_out *uiout)
{
- ui_out_begin (uiout, ui_out_type_list, id);
+ ui_out_begin (uiout, ui_out_type_list, NULL);
+}
+
+void
+ui_out_tuple_begin (struct ui_out *uiout, const char *id)
+{
+ ui_out_begin (uiout, ui_out_type_tuple, id);
}
void
@@ -352,6 +357,12 @@ ui_out_list_end (struct ui_out *uiout)
ui_out_end (uiout, ui_out_type_list);
}
+void
+ui_out_tuple_end (struct ui_out *uiout)
+{
+ ui_out_end (uiout, ui_out_type_tuple);
+}
+
struct ui_out_end_cleanup_data
{
struct ui_out *uiout;
@@ -387,7 +398,15 @@ make_cleanup_ui_out_begin_end (struct ui_out *uiout,
}
struct cleanup *
-make_cleanup_ui_out_list_end (struct ui_out *uiout)
+make_cleanup_ui_out_tuple_begin_end (struct ui_out *uiout,
+ const char *id)
+{
+ ui_out_tuple_begin (uiout, id);
+ return make_cleanup_ui_out_end (uiout, ui_out_type_tuple);
+}
+
+struct cleanup *
+make_cleanup_ui_out_list_begin_end (struct ui_out *uiout)
{
return make_cleanup_ui_out_end (uiout, ui_out_type_list);
}