From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H . J . Lu" To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH RFA] partial-stab.h patch amendment Date: Thu, 06 Sep 2001 23:00:00 -0000 Message-id: <20010906230028.A9702@lucon.org> References: <1010905224331.ZM6026@ocotillo.lan> <1010906205537.ZM8109@ocotillo.lan> <1010906232048.ZM8395@ocotillo.lan> X-SW-Source: 2001-09/msg00083.html 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.