Demangling in backtraces

Eli Zaretskii eliz@gnu.org
Sun Mar 14 07:36:46 GMT 2021


> 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.

Are you saying that if those prefixes weren't there, GDB would have
demangled the names automatically?


More information about the Gdb mailing list