diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-06-26 18:50:51 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-06-26 18:50:51 +0000 |
commit | dc61bc6d40462648d8d3cd29e7b6ee96645f3b4d (patch) | |
tree | 37e672834ad094c7c42d2347911eb3397caa8cac /gdb/mi/mi-cmd-stack.c | |
parent | d5e5643b981a71e86295de6915520eabdef68968 (diff) | |
download | gdb-dc61bc6d40462648d8d3cd29e7b6ee96645f3b4d.zip gdb-dc61bc6d40462648d8d3cd29e7b6ee96645f3b4d.tar.gz 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.c | 4 |
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); } |