public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: "Worley, Dale R (Dale)" <dworley@avaya.com>
Cc: Baurzhan Ismagulov <ibr@radix50.net>,
	       "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Shared libraries and separate debugging files
Date: Thu, 25 Aug 2011 20:31:00 -0000	[thread overview]
Message-ID: <20110825203103.GA21880@host1.jankratochvil.net> (raw)
In-Reply-To: <CD5674C3CD99574EBA7432465FC13C1B222B1F585B@DC-US1MBEX4.global.avaya.com>

On Thu, 25 Aug 2011 21:20:32 +0200, Worley, Dale R (Dale) wrote:
> So /lib/libc-2.11.2.so
> has been copied into /home/foo/crash1/lib/libc-2.11.2.so, and its
> debug file is in /home/foo/crash1/usr/lib/debug/lib/libc-2.11.2.so.
> But there does not appear to be a way to configure GDP to understand
> the connection between the two files.

`set sysroot' and `set debug-file-directory' should be enough, I agree it is
not user friendly but I always used strace -o x gdb ... to easily see in `x'
where GDB tries to search for which library files.


Regards,
Jan

  reply	other threads:[~2011-08-25 20:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-24 20:02 Worley, Dale R (Dale)
2011-08-24 22:22 ` Baurzhan Ismagulov
2011-08-25 20:12   ` Worley, Dale R (Dale)
2011-08-25 20:31     ` Jan Kratochvil [this message]
2011-08-26  3:40       ` Worley, Dale R (Dale)

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=20110825203103.GA21880@host1.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=dworley@avaya.com \
    --cc=gdb@sourceware.org \
    --cc=ibr@radix50.net \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).