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: [email protected]
> Date: Sun, 14 Mar 2021 09:26:02 +0100
> 
> On Mär 14 2021, Eli Zaretskii wrote:
> 
> >> 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.
> 
> So it _is_ part of the symbol name?

AFAIU, it's how the symbol is recorded in minsyms, yes.
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.