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 0/2] two ptype/o changes


This series changes ptype/o in a couple of ways.

Last week I spent quite some time puzzling over the meaning of the
'offset' for a bitfield in ptype/o output.  After talking with Sergio
on irc, I ended up concluding that gdb should instead print the bit
offset, not the number of bits remaining in the field's allocation.

That is patch #2.  Then, I noticed that the tests did not fail,
despite the output changing.  It turns out the tests weren't working
correctly, so I wrote patch #1.

Tested on x86-64 Fedora 29.  Let me know what you think.

Patch #2 includes a doc change.

Tom



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