Re: RFC: use const struct block * in more places

Tom Tromey
2012-12-03T19:48:45Z

>>>>> "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