Mike Hommey <email@example.com> writes: > 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 ? Correct line numbers when dealing with inline templates, for one. There were some other niceties, but I can't recall what they were off the top of my head. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
Description: PGP signature