From: Jim Blandy <jimb@red-bean.com>
To: Anthony Heading <ajrh@ajrh.net>
Cc: Kris Warkentin <KEWarken@qnx.com>, gdb@sources.redhat.com
Subject: Re: debugging shared libraries
Date: Fri, 06 Jan 2006 19:06:00 -0000 [thread overview]
Message-ID: <8f2776cb0601061106r729a857fy87266cf260bde793@mail.gmail.com> (raw)
In-Reply-To: <43BE8513.6020402@ajrh.net>
On 1/6/06, Anthony Heading <ajrh@ajrh.net> wrote:
> But my original suggestion was about trying to sidestep that. If gdb is
> run on the shared library, it's clear even technically what library we're
> trying to debug! And indeed that already works fine (on ELF at least):
(That's what I get for jumping into the middle of a thread.)
You're right, there's no necessary connection there that I can see.
You'll need to make sure the breakpoints get disabled
(bp_shlib_disabled) and re-set (as by breakpoint_re_set), since the
shared library probably won't get loaded at the address GDB expects
before the program runs.
next prev parent reply other threads:[~2006-01-06 19:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-05 14:17 Kris Warkentin
2006-01-06 1:37 ` Anthony Heading
2006-01-06 8:10 ` Jim Blandy
2006-01-06 14:56 ` Anthony Heading
2006-01-06 19:06 ` Jim Blandy [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-01-05 14:12 Anthony Heading
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=8f2776cb0601061106r729a857fy87266cf260bde793@mail.gmail.com \
--to=jimb@red-bean.com \
--cc=KEWarken@qnx.com \
--cc=ajrh@ajrh.net \
--cc=gdb@sources.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