This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] some mindless additions of BLOCK_ macros
On Wed, Oct 23, 2002 at 07:04:04PM -0400, Andrew Cagney wrote:
> >I recently noticed that the BLOCK_ macros weren't used everywhere they
> >could be. I know Andrew doesn't like macros, but given that these
> >ones are used almost everywhere, they might as well be used
> >everywhere.
>
> Yep.
>
> It's more that I like opaque types - it is all about `control' - with an
> opaque type it simply isn't possible to sneak in [old] code that grubs
> around in the internals. You could consider block.[hc]?
>
> (I need to come clean and admit that I'm quietly moving all the frame
> specific stuff out of blockframe.c and into frame.c so it can be opaque.
> I suspect everone guessed this long ago, though :-)
Hey, I didn't even notice the trick you were pulling until yesterday :)
I admit C++ grows more attractive every passing day though. Thing we
can take the leap, in a few years maybe?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer