Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] two ptype/o changes
@ 2019-04-29 18:31 Tom Tromey
  2019-04-29 18:31 ` [PATCH 2/2] Change ptype/o to print bit offset Tom Tromey
  2019-05-08 16:14 ` [PATCH 0/2] two ptype/o changes Tom Tromey
  0 siblings, 2 replies; 6+ messages in thread
From: Tom Tromey @ 2019-04-29 18:31 UTC (permalink / raw)
  To: gdb-patches

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-08 16:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-29 18:31 [PATCH 0/2] two ptype/o changes Tom Tromey
2019-04-29 18:31 ` [PATCH 2/2] Change ptype/o to print bit offset Tom Tromey
2019-04-29 18:52   ` Eli Zaretskii
2019-04-29 18:57     ` Tom Tromey
2019-04-29 20:10   ` John Baldwin
2019-05-08 16:14 ` [PATCH 0/2] two ptype/o changes Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox