From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18314 invoked by alias); 23 Oct 2002 23:24:02 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18305 invoked from network); 23 Oct 2002 23:24:01 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 23 Oct 2002 23:24:01 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 184Vmh-0007fI-00 for ; Wed, 23 Oct 2002 19:23:36 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 184UrQ-00018p-00 for ; Wed, 23 Oct 2002 19:24:24 -0400 Date: Wed, 23 Oct 2002 16:24:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [patch] some mindless additions of BLOCK_ macros Message-ID: <20021023232424.GA4331@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <3DB72AE4.1040908@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DB72AE4.1040908@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-10/txt/msg00493.txt.bz2 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