https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81932
David Hoyer <dhoyer at netapp dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dhoyer at netapp dot com
--- Comment #31 from David Hoyer <dhoyer at netapp dot com> ---
(In reply to [email protected] from comment #30)
> (In reply to Xi Ruoyao from comment #27)
> > Yes. Could GDB search the symbol with linkage name?
>
> This might work for function names but if you're trying to look up a type
> name (e.g. for a cast expression) this doesn't work because types don't have
> linkage names. We can often find a mangled name for a type as part of a
> function or global variable linkage name, but we can't guarantee that.
>
> Taking a user-provided type name and converting it into something we can
> look up in DWARF is already pretty hard due to C++ vagaries, but not knowing
> how the compiler canonicalizes these names makes it even harder, and it
> would simplify things if the compiler at least matches the demangler.
This issue has gotten stale and yet is still a problem for us using debian
buster. Is there any update?