This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH RFA] partial-stab.h patch amendment
On Thu, Sep 06, 2001 at 04:20:48PM -0700, Kevin Buettner wrote:
>
> If you read H.J.'s message, you'll see that __strtol_internal appears
> in libdl.so.2 as a weak undefined symbol. It got that way presumably
> through a bug somewhere else in the toolchain (linker perhaps?) which
> converted it from a weak defined symbol to a weak undefined symbol.
> Yet, in the process, the stabs entries related to this symbol weren't
> removed. Thus we end up having stabs entries which describe an
> undefined symbol.
Is there a way to remove a stabs entry in this case?
>
> I don't really expect any comments on this message, but I wanted
> write down what I know of the matter before moving on to something
> else...
>
I tried your patch on gdb 5.1. It works for me. Can we have it in
gdb 5.1?
Thanks.
H.J.