This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [Fwd: Re: Problems with debug packages on ubuntu 9.10 karmic]
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Thomas Mittelstaedt <tmstaedt at t-mittelstaedt dot de>
- Cc: gdb at sourceware dot org
- Date: Fri, 26 Feb 2010 17:48:42 -0500
- Subject: Re: [Fwd: Re: Problems with debug packages on ubuntu 9.10 karmic]
- References: <1267207963.3435.15.camel@linux1>
On Fri, Feb 26, 2010 at 07:12:43PM +0100, Thomas Mittelstaedt wrote:
> Hallo, gdb experts,
>
> I just had a crash of firefox on ubuntu 9.10 karmic and a tool called
> apport-bug came up automatically to collect system information, among it
> a stack trace, which again contained no debugging symbols. Well, for
> some package like xulrunner, there were indeed no debugging symbols, but
> for libglib, for instance, they definitely existed. I had the same
> problems with my own build of gnome evolution and I helped myself by
> using "set sysroot <non-existent-dir>; set solib-search-path=...".
> How can I make sure that gdb picks up the symbols of libraries already
> loaded? I am running a recent cvs version of gdb 7.0.
> Thank you in advance for insights / clarifications!
It sounds like you do not have set debug-file-directory set to
/usr/lib/debug. This is common if your gdb wasn't built with
--prefix=/usr.
--
Daniel Jacobowitz
CodeSourcery