This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Patch to enable a fully working gdb for GNU/Hurd
On Tue, 2011-07-05 at 10:15 -0600, Tom Tromey wrote:
> >>>>> "Svante" == Svante Signell <svante.signell@telia.com> writes:
>
> Svante> 2) When debugging an executable gdb does not find the debugging symbols
> Svante> for libraries. For example with libc0.3-dbg installed, the symbols are
> Svante> found with 7.2 but not with 7.3.50 when running the built gdb directly
> Svante> on an executable having debugging symbols (they are found).
>
> If libc0.3-dbg is just the separate debuginfo package, then make sure
> you have configured gdb with the correct --with-separate-debug-dir.
Looks like the following are set in the Debian case:
#define DEBUGDIR "/usr/lib/debug"
#define DEBUGDIR_RELOCATABLE 1
The difference with my build was that only --prefix=/usr was set
resulting in
#define DEBUGDIR "/usr/local/lib/debug"
Thanks, problem solved!