On Tue, May 14, 2013 at 12:45 AM, Tom Tromey <tro...@redhat.com> wrote: >>>>>> "Alexander" == Alexander Monakov <amona...@ispras.ru> writes: > > Alexander> In GCC's own dwarf2.h as enum tags; dwarf.h uses anonymous enums. > > I'm curious to know which dwarf2.h you are testing against and/or intend > to support. I think there is more than one.
Either dwarf.h from libdwarf (the "official" one if I understand correctly), or dwarf.h provided by elfutils or libdw. Right now I'm testing against /usr/include/dwarf.h provided by elfutils package on Gentoo. As far as I know, those are very similar except for presence of some enum values, hence the configure checks. Alexander