This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Looking for weak symbols with symbol_lookup ()


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]