o Fix code deleting psymtab entry from objfile's list.
authorAndrew Cagney <cagney@redhat.com>
Wed, 17 Dec 1997 16:50:18 +0000 (16:50 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 17 Dec 1997 16:50:18 +0000 (16:50 +0000)
commit4dbdbfc4d3dff2234894d5a048a84f0361277213
tree39a40cd323fcdceb56e40d75be1d960cbd458edb
parent6124cd1e59f077d87fb718f1e36ead2cbe38c6ff
o Fix code deleting psymtab entry from objfile's list.
Only worked if the first element in the list was
being deleted.
o When MAINLINE (reading main objectfile and need to
clear out old data), change elfread.c so that the
psymbol table is emptied once (in elf_symfile_read)
instead of multiple times in each *_read_psymtab
function.
o For elf_symfile_read, load dwarf2 symbols last
(so that they are searched for first).
o In mdebug_psymtab_read, delete check to see if
symbols for current source file already loaded.
Test doesn't work for .h files.  Above change
works better
gdb/ChangeLog
gdb/elfread.c
gdb/hpread.c
gdb/mdebugread.c
gdb/os9kread.c
gdb/xcoffread.c