[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Policy or best practices for debug packages?



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.


-- 
  .''`.  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.

Attachment: pgpUND_QLQcHs.pgp
Description: PGP signature


Reply to: