From: Tom Tromey <tromey@redhat.com>
To: gdb-patches@sourceware.org
Subject: Re: RFC: use const struct block * in more places
Date: Mon, 03 Dec 2012 19:48:00 -0000 [thread overview]
Message-ID: <878v9ex6g9.fsf@fleche.redhat.com> (raw)
In-Reply-To: <87ehjggpqm.fsf@fleche.redhat.com> (Tom Tromey's message of "Mon, 26 Nov 2012 11:53:37 -0700")
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
Tom> Since a block is read-only once it is fully initialized, I think it is
Tom> preferable to pass around 'const struct block *' in most places.
...
Tom> I plan to commit it in the absence of comments -- I have the vague
Tom> feeling that constification is somehow controversial in gdb, but maybe I
Tom> am mixing up my controversies. I personally think it is valuable,
Tom> especially in gdb, because gdb has a number of "should-be-read-only"
Tom> data structures.
I'm checking this in now.
Tom
prev parent reply other threads:[~2012-12-03 19:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-26 18:53 Tom Tromey
2012-11-26 20:44 ` Joel Brobecker
2012-12-03 19:48 ` Tom Tromey [this message]
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=878v9ex6g9.fsf@fleche.redhat.com \
--to=tromey@redhat.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