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: Thomas Mittelstaedt <tmstaedt at t-mittelstaedt dot de>
- To: Daniel Jacobowitz <dan at codesourcery dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 26 Feb 2010 23:56:46 +0100
- Subject: Re: [Fwd: Re: Problems with debug packages on ubuntu 9.10 karmic]
- References: <1267207963.3435.15.camel@linux1> <20100226224839.GA14705@caradoc.them.org>
- Reply-to: tmstaedt at t-mittelstaedt dot de
Am Freitag, den 26.02.2010, 17:48 -0500 schrieb Daniel Jacobowitz:
> 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.
>
No, that's is not the problem:
(gdb) show debug-file-directory
The directory where separate debug symbols are searched for is
"/usr/lib/debug".
--
thomas