Re: [MI] -stack-list-variables

Joel Brobecker
2009-09-19T15:46:41Z

> +2009-09-19 Vladimir Prus <vladimir@codesourcery.com>
> +
> + * 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.

ARG, the part that I really wanted to mentioned, and yet I forgot
after fussing on details. Sorry.

Can we have some tests added to the testsuite?

--
Joel