View mode: basic / threaded / horizontal-split · Log in · Help
April 04, 2012
Re: D globals in gdb
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.
April 04, 2012
Re: D globals in gdb
> 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.

Thanks, -gc works indeed.
Next ›   Last »
1 2
Top | Discussion index | About this forum | D home