2006-05-12 Paul Gilliam * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't ignore minimal symbols for solib trampolines just because they're in a different section than the PC. Index: minsyms.c =================================================================== RCS file: /cvs/src/src/gdb/minsyms.c,v retrieving revision 1.45 diff -a -u -r1.45 minsyms.c --- minsyms.c 17 Dec 2005 22:34:01 -0000 1.45 +++ minsyms.c 12 May 2006 22:17:06 -0000 @@ -486,6 +486,8 @@ don't fill the bfd_section member, so don't throw away symbols on those platforms. */ && SYMBOL_BFD_SECTION (&msymbol[hi]) != NULL + /* Don't ignore symbols for solib trampolines */ + && MSYMBOL_TYPE (&msymbol[hi]) != mst_solib_trampoline && SYMBOL_BFD_SECTION (&msymbol[hi]) != section) --hi;