diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-06-26 18:13:46 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-06-26 18:13:46 +0000 |
commit | d5e5643b981a71e86295de6915520eabdef68968 (patch) | |
tree | 6940bcc55f650bdfba645176ccc35d7481104c6f /gdb/mi/mi-cmd-stack.c | |
parent | 42a74a599a2fd1780587a8abdcd3de0a854837a7 (diff) | |
download | gdb-d5e5643b981a71e86295de6915520eabdef68968.zip gdb-d5e5643b981a71e86295de6915520eabdef68968.tar.gz gdb-d5e5643b981a71e86295de6915520eabdef68968.tar.bz2 |
* mi-cmd-stack.c (mi_cmd_stack_list_frames): Output a list of
"stack" entries.
(mi_cmd_stack_list_args): Ditto for "stack-args".
* gdbmi.texinfo (stack-list-frames, stack-list-arguments): Update
documentation.
(GDB/MI Stack Manipulation Commands): Fix section title. Was
Stack Manipulation Commands in GDB/MI.
* mi-stack.exp: Update. Output for stack=..., args=... and
stack-args=... changed to a list.
Diffstat (limited to 'gdb/mi/mi-cmd-stack.c')
-rw-r--r-- | gdb/mi/mi-cmd-stack.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index 7d0ed7c..3aa62e1 100644 --- a/gdb/mi/mi-cmd-stack.c +++ b/gdb/mi/mi-cmd-stack.c @@ -77,7 +77,7 @@ mi_cmd_stack_list_frames (char *command, char **argv, int argc) if (fi == NULL) error ("mi_cmd_stack_list_frames: Not enough frames in stack."); - ui_out_tuple_begin (uiout, "stack"); + ui_out_list_begin (uiout, "stack"); /* Now let;s print the frames up to frame_high, or until there are frames in the stack. */ @@ -96,7 +96,7 @@ mi_cmd_stack_list_frames (char *command, char **argv, int argc) 0 /* args */ ); } - ui_out_tuple_end (uiout); + ui_out_list_end (uiout); if (i < frame_high) error ("mi_cmd_stack_list_frames: Not enough frames in stack."); @@ -183,7 +183,7 @@ mi_cmd_stack_list_args (char *command, char **argv, int argc) if (fi == NULL) error ("mi_cmd_stack_list_args: Not enough frames in stack."); - ui_out_tuple_begin (uiout, "stack-args"); + ui_out_list_begin (uiout, "stack-args"); /* Now let's print the frames up to frame_high, or until there are frames in the stack. */ @@ -198,7 +198,7 @@ mi_cmd_stack_list_args (char *command, char **argv, int argc) ui_out_tuple_end (uiout); } - ui_out_tuple_end (uiout); + ui_out_list_end (uiout); if (i < frame_high) error ("mi_cmd_stack_list_args: Not enough frames in stack."); |