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/...
Glen Barber
gjb at FreeBSD.org
Fri Jun 7 23:39:02 UTC 2013
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
> >
> > 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.
> >
> > The debug files are now named ${prog}.debug and ${shlib}.debug for
> > consistency with other systems and documentation. In addition they are
> > 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.
>
> 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 ...
>
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20130607/1b6adc43/attachment.sig>
More information about the svn-src-head
mailing list