From: Randolph Chung <randolph@tausq.org>
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: gdb@sources.redhat.com
Subject: Re: pc_requires_run_before_use
Date: Wed, 24 Nov 2004 06:47:00 -0000 [thread overview]
Message-ID: <20041124044734.GX9148@tausq.org> (raw)
In-Reply-To: <200411240344.iAO3iGm7008085@hiauly1.hia.nrc.ca>
> I haven't looked at this but I think this is typical of the plabel
> setup for lazy binding. In GCC under linux, we need to call into
> the dynamic linker to force resolution of the function when doing
> function pointer comparisons. This is the infamous __cffc routine.
> I think gdb will have similar issues when trying to set a break
> in a shared library.
no, i don't think that's it:
(gdb) b printf
Function "printf" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n
gdb is pretty smart about this....
we used to have problems stepping into shared lib functions before they
have been resolved by the loader, but this has been fixed some time
back.
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
next prev parent reply other threads:[~2004-11-24 4:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-23 21:43 pc_requires_run_before_use Randolph Chung
2004-11-24 3:55 ` pc_requires_run_before_use John David Anglin
2004-11-24 6:47 ` Randolph Chung [this message]
2004-12-04 0:38 ` pc_requires_run_before_use Randolph Chung
2004-12-04 1:01 ` pc_requires_run_before_use John David Anglin
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=20041124044734.GX9148@tausq.org \
--to=randolph@tausq.org \
--cc=dave@hiauly1.hia.nrc.ca \
--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