[ping]: [PATCH 0/2] New option --skip-unavailable to -stack-list-XXX commands

Yao Qi
2013-07-29T09:33:37Z

On 07/03/2013 09:48 AM, Yao Qi wrote:
> Hi,
> This patch series add new option '--skip-unavailable' to MI commands
> '-stack-list-{locals, arguments, variables}'. This option is optional,
> and when it is used, locals or arguments whose values are not available
> are not listed. It is useful when the MI front-end is not interested in
> unavailable values.
>
> The patch 1/2 is a refactor patch, use mi_getopt in
> mi_cmd_stack_list_locals and mi_cmd_stack_list_variables, so it is
> easier to add new option patch 2/2. Patch 2/2 is the major part of this
> series.
>
> Regression tested on x86_64-linux.
>
> Note that this patch is for MI, but the idea that skipping unavailable
> locals and arguments can be applied to CLI too. We can invent new CLI
> commands on top of 'info locals' and 'info args' to display available
> locals or arguments. This piece of work is not included in this
> series.

Ping. http://sourceware.org/ml/gdb-patches/2013-07/msg00101.html

--
Yao (é½å°§)