This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: pc_requires_run_before_use
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: randolph at tausq dot org
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 23 Nov 2004 22:44:16 -0500 (EST)
- Subject: Re: pc_requires_run_before_use
> Does anybody understand what this comment means or what this code is
> supposed to do?
>
> hppa_pc_requires_run_before_use() in hppa-tdep.a says:
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.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)