diff options
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 07bea73..a5aff4b 100644 --- a/gdb/stack.c +++ b/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); |