This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [MI] -stack-list-variables
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 19 Sep 2009 08:46:24 -0700
- Subject: Re: [MI] -stack-list-variables
- References: <200909191412.37692.vladimir@codesourcery.com>
> +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