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]

Re: Flags fields in register xml descriptions are suboptimal: What to do?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]