Demangling in backtraces

Eli Zaretskii eliz@gnu.org
Sun Mar 14 09:40:46 GMT 2021


> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: gdb@sourceware.org
> Date: Sun, 14 Mar 2021 09:26:02 +0100
> 
> On Mär 14 2021, Eli Zaretskii wrote:
> 
> >> From: Andreas Schwab <schwab@linux-m68k.org>
> >> Cc: Eli Zaretskii <eliz@gnu.org>
> >> Date: Sun, 14 Mar 2021 08:28:36 +0100
> >> 
> >> >  #0  0x70f5ac3e in libgccjit-0!_Z17gimple_build_callP9tree_nodejz ()
> >> 
> >> Is this prefix part of the symbol name?  A valid mangled name must start
> >> with _Z.
> >
> > No, that's the name of the shared library.  This is a known
> > peculiarity on Windows, see "Non-debug DLL Symbols" in the GDB manual.
> 
> So it _is_ part of the symbol name?

AFAIU, it's how the symbol is recorded in minsyms, yes.


More information about the Gdb mailing list