From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15408 invoked by alias); 17 Sep 2002 19:59:44 -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 15388 invoked from network); 17 Sep 2002 19:59:43 -0000 Received: from unknown (HELO mail.cdt.org) (206.112.85.61) by sources.redhat.com with SMTP; 17 Sep 2002 19:59:43 -0000 Received: from www.dberlin.org (pool-138-88-97-198.res.east.verizon.net [138.88.97.198]) by mail.cdt.org (Postfix) with ESMTP id 6DDAC490063; Tue, 17 Sep 2002 15:37:14 -0400 (EDT) Received: from dberlin.org (unknown [192.168.0.252]) by www.dberlin.org (Postfix) with ESMTP id DDD2F1805C4C; Tue, 17 Sep 2002 15:59:42 -0400 (EDT) Date: Tue, 17 Sep 2002 12:59:00 -0000 Subject: Re: [RFA] convert blocks to dictionaries, phase 1, main part Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v546) Cc: David Carlton , gdb-patches@sources.redhat.com To: Andrew Cagney From: Daniel Berlin In-Reply-To: <3D877FA4.8050607@ges.redhat.com> Message-Id: <019B4A01-CA78-11D6-9548-000393575BCC@dberlin.org> Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00360.txt.bz2 On Tuesday, September 17, 2002, at 03:16 PM, Andrew Cagney wrote: > >>> - macro's are bad m'kay :-) >> Even accessor macros for members of structures? Gee, I like those: >> it's a lot easier to find all places where, say, struct block's >> 'hashtable' member is being used by grepping for 'BLOCK_HASHTABLE' >> than by grepping for 'hashtable' and then sorting out which ones of >> those really are referring to the 'hashtable' member as opposed to >> some other use of the phrase. > > Yep. If you think accessor macro's are a good idea, try debugging / > using sim/common some time :-( macro expansion is now supported, remember. :)