[very old] Re: dwarf2 cleanup

Andrew Cagney ac131313@cygnus.com
Thu Jun 20 14:11:00 GMT 2002


> + #define DEFDWARF2_CALL_FRAME_INFO(SYM, VAL) SYM = VAL,
>>   enum dwarf_call_frame_info
>>     {
>> ! #include "dwarf2.def"
>> !     LAST_DWARF_CALL_FAME_INFO
>>     };
>> + #undef DEFDWARF2_CALL_FRAME_INFO
>> 

BTW, these GDB parts should at least be written with the define/undefine 
hard up against that #include to make it very clear that something 
pretty garish is going on inside that #include:

#define DEFDWARF2_CALL_FRAME_INFO(SYM, VAL) SYM = VAL,
#include "dwarf2.def"
#undef DEFDWARF2_CALL_FRAME_INFO

Andrew




More information about the Gdb-patches mailing list