On Fri, Jun 1, 2012 at 9:58 PM, Eric Christopher <[email protected]> wrote:

>
> On Jun 1, 2012, at 2:10 AM, Alexey Samsonov <[email protected]> wrote:
>
> > Hi, cfe-commits!
> >
> > This patch improves support for different -g options:
> > 1) Flags -ggdb{0,2,3}, -gdwarf-{2,3,4} are now supported and translated
> to "-g" (except -ggdb0).
> > 2) Flag -gtoggle is supported.
> > 3) Flags -g[no-]record-gcc-switches and -g[no-]strict-dwarf are
> supported and ignored.
> > 4) Flags for alternate debug formats (-gcoff*, -gxcoff*, -gstabs*,
> -gvms*) are marked as unsupported and produce an error.
>
> ... what on earth is -gtoggle for?
>

Oh, this one looks hacky :)
According to
http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html#Debugging-Options,
to
"Turn off generation of debug info, if leaving out this option generates
it, or turn it on at level 2 otherwise."


>
> Otherwise sure :)
>
> -eric


-- 
Alexey Samsonov, MSK
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to