On Fri, 2014-04-18 at 15:19 +0200, Petr Machata wrote: > > - in getEnum, you assume that the underlying type is INT. That may not > > be the case. In C++11, you can actually choose the underlying enum > > type. DW_TAG_enumeration_type's DW_AT_type (if present) will point to > > that underlying type. > > I looked into this, and GCC currently doesn't seem to emit DW_AT_type > for enums with specified base.
Coincidentally I did submit a patch for that some weeks ago, but I was too late for gcc 4.9 so it is still pending. I just pinged it: http://gcc.gnu.org/ml/gcc-patches/2014-04/msg00713.html Tom wrote a patch for GDB to take advantage of it: https://sourceware.org/ml/gdb-patches/2014-03/msg00703.html Cheers, Mark _______________________________________________ Ltrace-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel
