This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Looking for weak symbols with symbol_lookup ()
- To: orjan dot friberg at axis dot com
- Subject: Re: Looking for weak symbols with symbol_lookup ()
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Date: Wed, 22 Nov 2000 18:13:55 +0100
- CC: gdb-patches at sources dot redhat dot com
> Date: Wed, 22 Nov 2000 17:58:19 +0100
> From: Orjan Friberg <orjanf@axis.com>
> As a way for gdb to find out about our target's current ABI, we are
> going to add a magic symbol to files compiled after a certain compiler
> version.
It's "add a magic symbol to *programs*". There'll be only one
such symbol with that magic name. It's not like .gcc2_compiled
(sp?). At least I hope so.
So it's not really important that it's weak, but it's still a
bug if gdb can't see weak symbols.
Perhaps there's some stabs construct that could be used instead
for ABI abuse? Any stabs expert around?
brgds, H-P