This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ping]: [PATCH] Teach -data-list-register-values to not include unavailable registers
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Mon, 17 Jun 2013 18:21:25 +0800
- Subject: [ping]: [PATCH] Teach -data-list-register-values to not include unavailable registers
- References: <1370609650-23595-1-git-send-email-yao at codesourcery dot com> <83sj0ut2ob dot fsf at gnu dot org> <51B23B65 dot 8060309 at redhat dot com> <51B28F73 dot 30301 at codesourcery dot com>
On 06/08/2013 09:57 AM, Yao Qi wrote:
gdb:
2013-06-08 Pedro Alves<pedro@codesourcery.com>
Yao Qi<yao@codesourcery.com>
* NEWS: Mention the new option '--skip-unavailable' of command
-data-list-register-values.
* mi/mi-main.c (mi_cmd_data_list_register_values): Accept the
--skip-unavailable option. Adjust to use output_register.
(output_register): Add new 'skip_unavailable' parameter.
Handle it.
gdb/testsuite:
2013-06-08 Yao Qi<yao@codesourcery.com>
* gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
and set an action.
(test_trace_unavailable): Test command -data-list-register-values
in the context of traceframe and with option --skip-unavailable.
* gdb.trace/trace-unavailable.c (foo): New.
(main): Call it.
* gdb.mi/gdb2549.exp: Update matching pattern.
Ping. http://sourceware.org/ml/gdb-patches/2013-06/msg00186.html
--
Yao (éå)