[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debug as default...
From: |
Nicola Pero |
Subject: |
Re: Debug as default... |
Date: |
Wed, 20 Sep 2006 06:33:38 +0200 (CEST) |
>> Anyway, let me know if '-g -O2' causes problems, I presume if the '-O2'
>> seriously confuse the debugger let me know and we can revert that change,
>> or maybe use '-g -O' ?
>
> Use of -O2 makes debugging almost impossible ... with that
> combination, in gdb, you can (mostly) follow program flow, but you
> can hardly ever examine variables.
Ok ... makes sense, I'll take the -O% out again then ;-)
Only worry IIRC is that debug=no will keep producing much better compiler
warnings
than debug=yes :-(
Thanks