Re: [very old] Re: dwarf2 cleanup

Andrew Cagney
2002-06-20T21:11:57Z

> + #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