[PATCH v2] Implement pahole-like 'ptype /o' option

Simon Marchi simon.marchi@polymtl.ca
Tue Dec 12 01:25:00 GMT 2017

On 2017-12-11 19:51, Pedro Alves wrote:
>>> So from that angle, I see value in not printing the offsets
>>> of union members.
>> Since it's still not clear whether the offsets should be printed or 
>> not
>> in this case, and I am not a global maintainer, I adjusted the code to
>> print them and will post the patch as a reply to the v4 e-mail.  This
>> way you can decide which version is best.
> Fun, just when I agreed with not printing the offsets... :-P  :-)

Damn, sorry for starting you guys on that track!  I just wanted to know 
if it was intentional or not, I am fine with either.


More information about the Gdb-patches mailing list