Date: Fri, 7 Jun 2013 19:38:59 -0400 From: Glen Barber <gjb@FreeBSD.org> To: Don Lewis <truckman@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, emaste@FreeBSD.org Subject: Re: svn commit: r251512 - in head: . etc etc/mtree gnu/usr.bin/gdb gnu/usr.bin/gdb/arch/amd64 gnu/usr.bin/gdb/arch/arm gnu/usr.bin/gdb/arch/i386 gnu/usr.bin/gdb/arch/ia64 gnu/usr.bin/gdb/arch/mips gnu/... Message-ID: <20130607233859.GE1578@glenbarber.us> In-Reply-To: <201306072335.r57NZN9H087680@gw.catspoiler.org> References: <201306072140.r57Le2Ct069230@svn.freebsd.org> <201306072335.r57NZN9H087680@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--C94crkcyjafcjHxo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 07, 2013 at 04:35:23PM -0700, Don Lewis wrote: > On 7 Jun, Ed Maste wrote: > > Author: emaste > > Date: Fri Jun 7 21:40:02 2013 > > New Revision: 251512 > > URL: http://svnweb.freebsd.org/changeset/base/251512 > >=20 > > Log: > > Add a new knob WITH_DEBUG_FILES to control the building of standalone > > debug files for userland programs and libraries. The "-g" debug flag > > is automatically applied when WITH_DEBUG_FILES is set. > > =20 > > The debug files are now named ${prog}.debug and ${shlib}.debug for > > consistency with other systems and documentation. In addition they a= re > > installed under /usr/lib/debug, to simplify the process of installing > > them if needed after a crash. Users of bsd.{prog,lib}.mk outside of = the > > base system place the standalone debug files in a .debug subdirectory. > > GDB automatically searches both of these directories for standalone > > debug files. >=20 > Can the debug files be compressed so they don't take up as much room? It > looks like gdb supports compressed symbol files. The same would be nice > for /boot/kernel/*.symbols, btw ... >=20 I don't think compression will gain us much here. The difference of release medium size with WITH_DEBUG_FILES set versus without is ~2GB compared to ~750MB. On the release medium, the debug files are compressed with the base system with xz(1). Glen --C94crkcyjafcjHxo Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBCAAGBQJRsm8TAAoJEFJPDDeguUajr3YH/2GshRzKolYS5ARF/PJiUVBH cHwc93+TGGSML3jtcRIrBMoZk04UvpU9wxAUh84jhA5pbnVQiOBomCk5LQqguCpN h5c4x8Qy3Lp2jukqsbsZ7QRTFo9dMAr41gIpL5FN37du7hK9zs9Wxd3Md+VW6w25 fpm8NGRKlqVreWDmXfIf/NTRC2rnLigwXdYXqTpodP2NcE50MyxK0bKMGnqj7Vhf Ugz5pthYFjllJ3AI+RXa0IHOq1TF4EJptnuyPwy7CpWx3U4fU48EnaQZCX7XrbUs l8J2RNg8p3H5KMLj/IF+eIwnevAaP1GGS92j1qB+qoekfHinzz2XXIAHt/VBg+c= =L2H1 -----END PGP SIGNATURE----- --C94crkcyjafcjHxo--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130607233859.GE1578>