find_pc_partial_function may produce the wrong answer
Paul Koning
pkoning@equallogic.com
Wed Jul 20 16:24:00 GMT 2005
>>>>> "H" == H J Lu <hjl@lucon.org> writes:
H> On Wed, Jul 20, 2005 at 11:36:48AM -0400, Paul Koning wrote:
>> >>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:
Daniel> Is the shared library stripped? I am absolutely positive
Daniel> that the minimal symbol table will include the static symtab
Daniel> - as long as there is one.
Daniel> If for some reason in your modified GDB this is not the case,
Daniel> figure out why not.
>> It isn't related to the modified gdb; the stock gdb from CVS
>> sources does the same.
>>
>> It looks instead like there is something bizarre going on in the
>> compile. I looked in the build directory and found that the
>> offending file (malloc.o) has no static syms in its symbol table
>> according to readelf. But when I repeat the compile by hand I get
>> a rather different looking symbol table that does have them. Need
>> to track this down.
H> Are you using gcc 4.0/4.1 by any chance?
No -- gcc 3.3.3 on NetBSD, i386 host, mipsel target.
paul
More information about the Gdb
mailing list