On Tue, Apr 26, 2011 at 3:57 PM, Cary Coutant <ccout...@google.com> wrote:
> If we do go with extending -g1, though. we want to be able to turn it
> on in our build scripts, yet allow a later "-g" option in the user's
> compiler options to enable full debug info. In this patch, I've made
> sure that "-gmlt -g" is equivalent to "-g2", whereas "-g1 -g" is the
> same as "-g1" by itself. (It's too much to train people to use "-g2"
> instead of "-g" when they want full debug.)
>

Well I think -g1 -g should act like how -O2 -O works.  That is should be -g2.

Thanks,
Andrew Pinski

Reply via email to