[Issue 14225] [REG2.067a] GDB: error reading variable (string + dup)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Mar 9 16:49:48 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14225

--- Comment #8 from Martin Nowak <code at dawg.eu> ---
(In reply to Martin Nowak from comment #7)
> It would be more optimal if dmd cached and emitted only a single instance
> per array type. Will try to implement that and see if it helps before
> spending more hours debugging gdb.

Indeed, fixing the type repetition of debug infos for arrays fixes the issue.
The code is pretty ugly and needs some refactoring before fixing the incorrect
hashing, but that'd be my preferred fix as it get's rid of a lot of unnecessary
debug info.

--


More information about the Digitalmars-d-bugs mailing list