GDB demangling

Rainer Schuetze r.sagitario at gmx.de
Mon Dec 3 22:36:43 UTC 2018



On 03/12/2018 12:29, ANtlord wrote:
> You can see some readable messages like
> 
> #23
> dsymbol.modulecache.ModuleCache.addImportPaths(const(immutable(char)[][]))
> (this=, paths={[0] = "/usr/include/dmd/phobos/"})
> 
> and some unreadable
> 
> #22
> _D7dsymbol11modulecache11ModuleCache14addImportPathsMFxAAyaZ8scanFromMFxQqZv
> (this=, root="/usr/include/dmd/phobos/")
> 
> So please make me clear with the state of the demangling. Is it supported?

The mangling has changed with dmd 2.077 to reduce the size of symbols.

There is a patch for gdb/libiberty but it hasn't been merged yet AFAICT:
https://github.com/ibuclaw/gdb/pull/8


More information about the Digitalmars-d-debugger mailing list