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]

[PATCH v5 0/2] Implement pahole-like 'ptype /o' option (and do some code reorg)


Changes from v4:

- Fixed issue with printing bitfield offsets.  Big thanks to Pedro for
  the help with figuring this out.

- Expanded testcase to cover the bitfield offset test.

- Fixed @command/@kbd on documentation.

- Greatly expanded documentation to explain more about various types
  of output that the command generates.

- Added a marker for /* vtable */ fields.


I honestly thought this patch was not going to be ready today.  It's
now apparently printing the offsets (and remaining bits) of bitfields
correctly, at least as far I have tested.

Eli, I think you need to review the docs once again because I included
a great deal of information about the format printed by the command.

Thanks.


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