s/ui_out_list/ui_out_tupple/
This commit is contained in:
parent
30c98d84cd
commit
666547aa9e
13 changed files with 158 additions and 104 deletions
10
gdb/stack.c
10
gdb/stack.c
|
@ -531,8 +531,7 @@ print_frame (struct frame_info *fi,
|
|||
annotate_frame_begin (level == -1 ? 0 : level, fi->pc);
|
||||
|
||||
#ifdef UI_OUT
|
||||
ui_out_list_begin (uiout, "frame");
|
||||
list_chain = make_cleanup_ui_out_list_end (uiout);
|
||||
list_chain = make_cleanup_ui_out_tuple_begin_end (uiout, "frame");
|
||||
#endif
|
||||
|
||||
if (level >= 0)
|
||||
|
@ -587,12 +586,11 @@ print_frame (struct frame_info *fi,
|
|||
args.func = func;
|
||||
args.stream = gdb_stdout;
|
||||
#ifdef UI_OUT
|
||||
ui_out_list_begin (uiout, "args");
|
||||
args_list_chain = make_cleanup_ui_out_list_end (uiout);
|
||||
args_list_chain = make_cleanup_ui_out_tuple_begin_end (uiout, "args");
|
||||
catch_errors (print_args_stub, &args, "", RETURN_MASK_ALL);
|
||||
/* FIXME: args must be a list. If one argument is a string it will
|
||||
have " that will not be properly escaped. */
|
||||
/* Invoke ui_out_list_end. */
|
||||
/* Invoke ui_out_tuple_end. */
|
||||
do_cleanups (args_list_chain);
|
||||
#else
|
||||
catch_errors (print_args_stub, &args, "", RETURN_MASK_ALL);
|
||||
|
@ -649,7 +647,7 @@ print_frame (struct frame_info *fi,
|
|||
#endif /* PC_SOLIB */
|
||||
|
||||
#ifdef UI_OUT
|
||||
/* do_cleanups will call ui_out_list_end() for us. */
|
||||
/* do_cleanups will call ui_out_tuple_end() for us. */
|
||||
do_cleanups (list_chain);
|
||||
ui_out_text (uiout, "\n");
|
||||
do_cleanups (old_chain);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue