https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109020
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |MOVED --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Nothing in DWARF can change the scope name of a child DIE and I don't see any mangled symbol name output either so it must be gdb being funky possibly using the symbol demangling in one and the dwarf name in the other completion. _ZZL2ffmENKUlvE_clEv demangles as ff(unsigned long)::{lambda()#1}::operator()() const no typedefs in manglings, obviously. Please file on the sourceware side.