This is the mail archive of the gdb@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]
Other format: [Raw text]

Re: find_pc_partial_function may produce the wrong answer


>>>>> "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


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