This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [very old] Re: dwarf2 cleanup


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]