Re: Demangling in backtraces

Eli Zaretskii via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
> From: Andreas Schwab <[email protected]>
> Cc: Eli Zaretskii <[email protected]>
> 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?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.