File mst-solib-trampoline.diff of Package gdb

--- gdb/minsyms.c
+++ gdb/minsyms.c
@@ -486,6 +486,8 @@
 		  /* If SECTION was specified, skip any symbol from
 		     wrong section.  */
 		  if (section
+		      /* Don't ignore symbols for solib trampolines.  */
+		      && MSYMBOL_TYPE (&msymbol[hi]) != mst_solib_trampoline
 		      /* Some types of debug info, such as COFF,
 			 don't fill the bfd_section member, so don't
 			 throw away symbols on those platforms.  */
openSUSE Build Service is sponsored by