2006-12-18 23:16:31 +00:00
|
|
|
--- gdb/minsyms.c
|
|
|
|
+++ gdb/minsyms.c
|
2007-03-06 08:04:12 +00:00
|
|
|
@@ -486,6 +486,8 @@
|
|
|
|
/* If SECTION was specified, skip any symbol from
|
|
|
|
wrong section. */
|
|
|
|
if (section
|
2006-12-18 23:16:31 +00:00
|
|
|
+ /* Don't ignore symbols for solib trampolines. */
|
|
|
|
+ && MSYMBOL_TYPE (&msymbol[hi]) != mst_solib_trampoline
|
2007-03-06 08:04:12 +00:00
|
|
|
/* Some types of debug info, such as COFF,
|
|
|
|
don't fill the bfd_section member, so don't
|
|
|
|
throw away symbols on those platforms. */
|