Re: Policy or best practices for debug packages?
On Mon, Jul 07, 2008 at 07:48:27PM +0100, Roger Leigh wrote:
> Theodore Tso <tytso@MIT.EDU> writes:
> > Speaking of the -g option, does anyone know off-hand whether or not
> > it's worth it to build with -g3 (to get cpp macro definitions into the
> > DWARF stubs)?
> -g3 is also needed to get sane debugging information for C++ code,
> IME. It would be nice if it was the default, unless there's huge
> overhead in terms of bloating up the DWARF2 .debug_* sections.
I've always found -g to be enough with mozilla and webkit c++ code
bases. What would -g3 add ?