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

Re: Compiling all packages with debug information?



On 10/8/07, Philipp Marek <philipp@marek.priv.at> wrote:

> As I'm running unstable I sometimes find bugs in applications.
> Now it would be very nice if there was some way to get the
> matching debug information for the packages, so gdb could print
> a better backtrace, or eg. show exactly which line segfaults.

Packages built yourself with noopt+nostrip (where supported) would
produce the better backtraces.

Ubuntu already creates debug symbols for their whole archive:

https://lists.ubuntu.com/archives/ubuntu-devel-announce/2006-September/000195.html
https://wiki.ubuntu.com/AptElfDebugSymbols
https://launchpad.net/distros/ubuntu/+spec/apt-get-debug-symbols

This would be a nice thing to have in Debian, especially moving dbg
packages to a separate archive.

There are some possible problems with this; for eg packages like
openoffice which are very big and far bigger with debug symbols.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise



Reply to: