[Dwarf-Discuss] GNU extensions - inconsistent?
Tue Dec 13 19:50:02 GMT 2011
>>>>> "David" == David Anderson <davea42 at earthlink.net> writes:
David> I notice that gdb-7.3.1/include/dwarf2.h matches that gcc header
David> except the gdb version
David> has a few extra values,
David> DW_TAG_GNU_call_site etc.
David> I'll take the gdb one as governing, for the moment.
The file is canonically maintained in GCC svn, then changes are merged
over to the gdb+binutils repository.
If you look at the files in releases, which one is newer will just
depend on which release happened later.
I checked just now and the files are still in sync in the development
In the past, GNU was pretty lax about extensions. Some were not
documented (DW_OP_GNU_uninit), some had the wrong names
(DW_TAG_format_label), etc. We try to be better about it now.
More information about the Dwarf-discuss