View mode: basic / threaded / horizontal-split · Log in · Help
February 12, 2005
compiler flags
Is there any information about following flags, their effects
and symbolic info produced by dmd.exe?

-g
add symbolic debug info
-gt
add trace profiling hooks

Andrew Fedoniouk.
http://terrainformatica.com
February 12, 2005
Re: compiler flags
"Andrew Fedoniouk" <news@terrainformatica.com> wrote in message
news:cukddo$s3e$1@digitaldaemon.com...
> Is there any information about following flags, their effects
> and symbolic info produced by dmd.exe?
>
> -g
> add symbolic debug info

It adds codeview symbolic debug info for Windows, and Dwarf symbolic debug
info for Linux.

> -gt
> add trace profiling hooks

www.digitalmars.com/ctg/trace.html

> Andrew Fedoniouk.
> http://terrainformatica.com
>
>
February 12, 2005
Re: compiler flags
Walter wrote:
> "Andrew Fedoniouk" <news@terrainformatica.com> wrote in message
> news:cukddo$s3e$1@digitaldaemon.com...
> 
>>Is there any information about following flags, their effects
>>and symbolic info produced by dmd.exe?
>>
>>-g
>>add symbolic debug info
> 
> 
> It adds codeview symbolic debug info for Windows, and Dwarf symbolic debug
> info for Linux.

Well... it tries to add the Dwarf symbolic debug info, but it doesn't 
seem to put the line numbers in correctly, so you still can't do stuff 
like step through a program, unless you want to step through the assembly.

John
February 13, 2005
Re: compiler flags
Thanks a lot, Walter.


"Walter" <newshound@digitalmars.com> wrote in message 
news:cukgia$vit$1@digitaldaemon.com...
>
> "Andrew Fedoniouk" <news@terrainformatica.com> wrote in message
> news:cukddo$s3e$1@digitaldaemon.com...
>> Is there any information about following flags, their effects
>> and symbolic info produced by dmd.exe?
>>
>> -g
>> add symbolic debug info
>
> It adds codeview symbolic debug info for Windows, and Dwarf symbolic debug
> info for Linux.
>
>> -gt
>> add trace profiling hooks
>
> www.digitalmars.com/ctg/trace.html
>
>> Andrew Fedoniouk.
>> http://terrainformatica.com
>>
>>
>
>
Top | Discussion index | About this forum | D home