D globals in gdb

Mihail Zenkov mihail.zenkov at gmail.com
Wed Apr 4 06:50:01 PDT 2012


On Wednesday, 4 April 2012 at 10:45:00 UTC, Martin Krejcirik 
wrote:
> On Wednesday, 4 April 2012 at 07:01:39 UTC, Mihail Zenkov wrote:
>> 1. Try compile without options, just 'dmd tls.d'
>
> I'm not sure what that should accomplish, as I wouldn't get the 
> debug info.
DMD without any flags produce enough debug info to see global 
variable.
I reproduce this problem: only dmd with flag -g have it. Without 
this flag or with -gc gdb show correct value.


More information about the Digitalmars-d-debugger mailing list