Try 'debug=2' for enabling all the debugging symbols.  In debug=1 we still
use -0 because without that flag simulation runs too slow.

- Avadh

On Thu, Aug 23, 2012 at 9:20 PM, Furat Afram <[email protected]> wrote:

> use "scons debug=1", that will disable optimization and enable some extra
> logging.
> -Furat
>
> On Thu, Aug 23, 2012 at 9:24 PM, Mostafa Farahani <
> [email protected]> wrote:
>
>> Hi,
>>
>> I have a questions about debugging Marss. How can I disable compiler
>> optimization? Due to compiler optimization, gdb can not
>> print variable value ("<value optimized out>").
>>
>> Thanks,
>> --
>> Mostafa
>>
>>
>> _______________________________________________
>> http://www.marss86.org
>> Marss86-Devel mailing list
>> [email protected]
>> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>>
>>
>
> _______________________________________________
> http://www.marss86.org
> Marss86-Devel mailing list
> [email protected]
> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to