its variants.
* minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
symbols whose SYMBOL_BFD_SECTION is NULL.
+2001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * NEWS: Document that "info symbol" works with COFF debug info and
+ its variants.
+
+ * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
+ symbols whose SYMBOL_BFD_SECTION is NULL.
+
2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
*** Changes since GDB 5.0:
+* "info symbol" works on platforms which use COFF, ECOFF, XCOFF, and NLM.
+
* New native configurations
Alpha FreeBSD alpha*-*-freebsd*
/* This is the new code that distinguishes it from the old function */
if (section)
while (hi >= 0
+ /* Some types of debug info, such as COFF,
+ don't fill the bfd_section member, so don't
+ throw away symbols on those platforms. */
+ && SYMBOL_BFD_SECTION (&msymbol[hi]) != NULL
&& SYMBOL_BFD_SECTION (&msymbol[hi]) != section)
--hi;