* mi/mi-cmds.h (mi_cmd_stack_list_variables): Declare.
authorVladimir Prus <vladimir@codesourcery.com>
Sat, 19 Sep 2009 09:59:29 +0000 (09:59 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Sat, 19 Sep 2009 09:59:29 +0000 (09:59 +0000)
commitdaf3c9776f0c101dea753d0011ac5c7ca2caf665
tree586672edd26d68c87c57b6ded505daa5107729d9
parent3145548fd3b5f2267576ef362280f5c89351728a
* mi/mi-cmds.h (mi_cmd_stack_list_variables): Declare.
* mi/mi-cmds.c (mi_cmds): Register -stack-list-variables.
* mi/mi-cmd-stack.c (enum what_to_list): New.
(list_args_or_locals): Accept what_to_list parameter.
Use 'variables' as output name of all are requested.
(mi_cmd_stack_list_variables): New.
(mi_cmd_stack_list_locals, mi_cmd_stack_list_args): Adjust.
gdb/ChangeLog
gdb/mi/mi-cmd-stack.c
gdb/mi/mi-cmds.c
gdb/mi/mi-cmds.h