[RFA] convert blocks to dictionaries, phase 1, main part

Daniel Berlin dberlin@dberlin.org
Tue Sep 17 12:59:00 GMT 2002


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.
:)



More information about the Gdb-patches mailing list