This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Teach -data-list-register-values to not include unavailable registers
- From: Tom Tromey <tromey at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: Pedro Alves <palves at redhat dot com>, Eli Zaretskii <eliz at gnu dot org>, <gdb-patches at sourceware dot org>
- Date: Wed, 19 Jun 2013 13:05:06 -0600
- Subject: Re: [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> <874ncva1uy dot fsf at fleche dot redhat dot com> <51C18021 dot 6080108 at codesourcery dot com>
Yao> The MI front-end doesn't parse the output like this, as each register
Yao> is represented by "number-value" pair.
Fair enough.
Tom> Is it not useful to see the unavailable ones?
Yao> Processor may have a large number of registers, and users are only
Yao> interested in collected or available registers in a traceframe. In
Yao> this case, it is not useful to show (a large of number of) unavailable
Yao> registers.
I suppose if anybody cares they can request the information twice.
The code bits are ok.
Tom