This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v5 0/2] Implement pahole-like 'ptype /o' option (and do some code reorg)
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Cc: Tom Tromey <tom at tromey dot com>, Eli Zaretskii <eliz at gnu dot org>, Simon Marchi <simon dot marchi at ericsson dot com>, Pedro Alves <palves at redhat dot com>, Keith Seitz <keiths at redhat dot com>
- Date: Tue, 12 Dec 2017 22:17:22 -0500
- Subject: [PATCH v5 0/2] Implement pahole-like 'ptype /o' option (and do some code reorg)
- Authentication-results: sourceware.org; auth=none
- References: <20171121160709.23248-1-sergiodj@redhat.com>
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.