This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On 06/18/2013 11:13 PM, Tom Tromey wrote:
Why a new argument rather than just having MI annotate unavailable
registers directly?
-data-list-register-values x 0 8
^done,register-values=[{number="0",unavailable="1"},{number="8",value="0x80483de"}]
The MI front-end doesn't parse the output like this, as each register is represented by "number-value" pair.
Is it not useful to see the unavailable ones?
Processor may have a large number of registers, and users are only interested in collected or available registers in a traceframe. In this case, it is not useful to show (a large of number of) unavailable registers.
-- Yao (éå)
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |