GDB demangling

Rainer Schuetze r.sagitario at gmx.de
Tue Dec 4 19:57:37 UTC 2018



On 04/12/2018 09:28, ANtlord wrote:
> On Monday, 3 December 2018 at 22:36:43 UTC, Rainer Schuetze wrote:
> 
>> There is a patch for gdb/libiberty but it hasn't been merged yet
>> AFAICT: https://github.com/ibuclaw/gdb/pull/8
> 
> What is the state of the PR? As far as I see hasn't been updated since
> 10 May. 

Some paperwork had to be done with the FSF but that is completed. I
guess Iain will merge the PR before the next major update.

Also, can't we use D code in gdb?

I doubt this is allowed before GDC is part of the official GNU compiler
suite. This is expected to happen early next year.

It helps to synchronize the
> demangling with the latest changes. Or it's impossible because GDB's
> demangling should support several versions of dlang compiler?

The new mangling is a superset of the old mangling, so demangling works
for both old and new versions.


More information about the Digitalmars-d-debugger mailing list