src/gdb ChangeLog arm-linux-tdep.c cp-support. ...
<carlton <at> sources.redhat.com>
2003-02-01 01:17:22 GMT
CVSROOT: /cvs/src
Module name: src
Branch: carlton_dictionary-branch
Changes by: carlton <at> sourceware.org 2003-02-01 01:17:22
Modified files:
gdb : ChangeLog arm-linux-tdep.c cp-support.c
cp-support.h gdbtypes.c gdbtypes.h
i386-linux-tdep.c minsyms.c objfiles.c
objfiles.h solib-sunos.c symfile.c symtab.c
valops.c
Log message:
2003-01-31 David Carlton <carlton <at> math.stanford.edu>
From Jim Blandy <jimb <at> redhat.com>:
Use a single, consistent representation for an empty minimal
symbol table in an objfile.
* objfiles.c (terminate_minimal_symbol_table): New function.
(allocate_objfile): Call it.
* objfiles.h (terminate_minimal_symbol_table): New declaration.
(ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
non-NULL.
* minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
objfile has minimal symbols, compare minimal_symbol_count to zero,
instead of comparing msymbols with NULL.
* objfiles.c (have_minimal_symbols): Same.
* solib-sunos.c (solib_add_common_symbols): Call
terminate_minimal_symbol_table.
(Continue reading)