aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-cmd-stack.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-06-26 18:50:51 +0000
committerAndrew Cagney <cagney@redhat.com>2001-06-26 18:50:51 +0000
commitdc61bc6d40462648d8d3cd29e7b6ee96645f3b4d (patch)
tree37e672834ad094c7c42d2347911eb3397caa8cac /gdb/mi/mi-cmd-stack.c
parentd5e5643b981a71e86295de6915520eabdef68968 (diff)
downloadfsf-binutils-gdb-dc61bc6d40462648d8d3cd29e7b6ee96645f3b4d.zip
fsf-binutils-gdb-dc61bc6d40462648d8d3cd29e7b6ee96645f3b4d.tar.gz
fsf-binutils-gdb-dc61bc6d40462648d8d3cd29e7b6ee96645f3b4d.tar.bz2
* mi-cmd-stack.c (list_args_or_locals): Output a list of "args" or
"locals" entries. * gdbmi.texinfo (stack-list-locals, stack-list-arguments) (exec-interrupt, target-select, thread-select): Update documentation. * mi-stack.exp: Update. Output for args=... and locals=... changed to a list.
Diffstat (limited to 'gdb/mi/mi-cmd-stack.c')
-rw-r--r--gdb/mi/mi-cmd-stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c
index 3aa62e1..3cfdadb 100644
--- a/gdb/mi/mi-cmd-stack.c
+++ b/gdb/mi/mi-cmd-stack.c
@@ -222,7 +222,7 @@ list_args_or_locals (int locals, int values, struct frame_info *fi)
block = get_frame_block (fi);
- ui_out_tuple_begin (uiout, locals ? "locals" : "args");
+ ui_out_list_begin (uiout, locals ? "locals" : "args");
while (block != 0)
{
@@ -289,7 +289,7 @@ list_args_or_locals (int locals, int values, struct frame_info *fi)
else
block = BLOCK_SUPERBLOCK (block);
}
- ui_out_tuple_end (uiout);
+ ui_out_list_end (uiout);
ui_out_stream_delete (stb);
}