> Yes. And more importantly because the name of the constructor of the > anonymous struct is the name of the naming typedef. [I now believe this > is a bug, though.]
That can only be a default constructor, right? There is no way a user could write a constructor for an anonymous class/struct. > So this was breaking GDB because it wouldn't figure easily the > relationship between the constructor (which name is, e.g, 't') and the > anonymous struct which name is, well, anonymous. So adding the linkage > name attribute [which value is 't'] was the easier way [from GDB's > standpoint] to help fix the issue. This is so that GDB can figure out how to call the constructor to evaluate an expression that constructs an object of this type by performing an inferior call? _______________________________________________ elfutils-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/elfutils-devel
