Flags fields in register xml descriptions are suboptimal: What to do?
Pedro Alves
palves@redhat.com
Thu Feb 4 15:11:00 GMT 2016
On 02/04/2016 02:40 PM, Yao Qi wrote:
>>
>> Also, I'd like to print flags even if they're zero. E.g.,
>>
>> (gdb) i r cpsr
>> cpsr 0xa0000020 123456 [ Z !C N !V EL=1 ... ]
>>
>> or some such.
>> IOW, instead of not printing fields that are zero/false/off,
>> print them as "!FIELD".
>
> I am not sure of this one.
Me neither. I don't think I'd like it, personally. I find it easier to
spot the rogue TF or some such if only the set bits are displayed.
And I imagine that with a 64-bit flags register that would result in
a very long string hard to grok.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list