From: Tom Tromey <tromey@adacore.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/2] two ptype/o changes
Date: Mon, 29 Apr 2019 18:31:00 -0000 [thread overview]
Message-ID: <20190429183105.15973-1-tromey@adacore.com> (raw)
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
next reply other threads:[~2019-04-29 18:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-29 18:31 Tom Tromey [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190429183105.15973-1-tromey@adacore.com \
--to=tromey@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox