From: Svante Signell <svante.signell@telia.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Thomas Schwinge <thomas@schwinge.name>,
gdb-patches@sourceware.org, 579834@bugs.debian.org
Subject: Re: Patch to enable a fully working gdb for GNU/Hurd
Date: Tue, 05 Jul 2011 17:51:00 -0000 [thread overview]
Message-ID: <1309887830.3172.155.camel@s1499.it.kth.se> (raw)
In-Reply-To: <m3ei24vh4l.fsf@fleche.redhat.com>
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!
prev parent reply other threads:[~2011-07-05 17:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-29 17:14 Svante Signell
2011-07-04 18:34 ` Thomas Schwinge
2011-07-04 19:20 ` Svante Signell
2011-07-04 19:56 ` Joel Brobecker
2011-07-05 14:53 ` Svante Signell
2011-07-05 15:09 ` Thomas Schwinge
2011-07-05 16:26 ` Tom Tromey
2011-07-05 17:51 ` Svante Signell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1309887830.3172.155.camel@s1499.it.kth.se \
--to=svante.signell@telia.com \
--cc=579834@bugs.debian.org \
--cc=gdb-patches@sourceware.org \
--cc=thomas@schwinge.name \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox