aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-setshow.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/cli/cli-setshow.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/cli/cli-setshow.c')
-rw-r--r--gdb/cli/cli-setshow.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/cli/cli-setshow.c b/gdb/cli/cli-setshow.c
index 47ad244..bd3dd1a 100644
--- a/gdb/cli/cli-setshow.c
+++ b/gdb/cli/cli-setshow.c
@@ -422,7 +422,7 @@ void
cmd_show_list (struct cmd_list_element *list, int from_tty, char *prefix)
{
#ifdef UI_OUT
- ui_out_list_begin (uiout, "showlist");
+ ui_out_tuple_begin (uiout, "showlist");
#endif
for (; list != NULL; list = list->next)
{
@@ -431,19 +431,19 @@ cmd_show_list (struct cmd_list_element *list, int from_tty, char *prefix)
#ifdef UI_OUT
if (list->prefixlist && !list->abbrev_flag)
{
- ui_out_list_begin (uiout, "optionlist");
+ ui_out_tuple_begin (uiout, "optionlist");
ui_out_field_string (uiout, "prefix", list->prefixname + 5);
cmd_show_list (*list->prefixlist, from_tty, list->prefixname + 5);
- ui_out_list_end (uiout);
+ ui_out_tuple_end (uiout);
}
if (list->type == show_cmd)
{
- ui_out_list_begin (uiout, "option");
+ ui_out_tuple_begin (uiout, "option");
ui_out_text (uiout, prefix);
ui_out_field_string (uiout, "name", list->name);
ui_out_text (uiout, ": ");
do_setshow_command ((char *) NULL, from_tty, list);
- ui_out_list_end (uiout);
+ ui_out_tuple_end (uiout);
}
#else
if (list->prefixlist && !list->abbrev_flag)
@@ -458,7 +458,7 @@ cmd_show_list (struct cmd_list_element *list, int from_tty, char *prefix)
#endif
}
#ifdef UI_OUT
- ui_out_list_end (uiout);
+ ui_out_tuple_end (uiout);
#endif
}