diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-12-17 16:50:18 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-12-17 16:50:18 +0000 |
commit | 4dbdbfc4d3dff2234894d5a048a84f0361277213 (patch) | |
tree | 39a40cd323fcdceb56e40d75be1d960cbd458edb /gdb/ChangeLog | |
parent | 6124cd1e59f077d87fb718f1e36ead2cbe38c6ff (diff) | |
download | gdb-4dbdbfc4d3dff2234894d5a048a84f0361277213.zip gdb-4dbdbfc4d3dff2234894d5a048a84f0361277213.tar.gz gdb-4dbdbfc4d3dff2234894d5a048a84f0361277213.tar.bz2 |
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
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0dceb05..c5660fc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,30 @@ +Thu Dec 18 00:26:46 1997 Andrew Cagney <cagney@b1.cygnus.com> + + * mdebugread.c (parse_partial_symbols): Delete check that symbols + for file not already loaded. Did not work when an include file + was involved. + +Wed Dec 17 10:43:04 1997 Andrew Cagney <cagney@b1.cygnus.com> + + * elfread.c (elf_symfile_read): Since the partial symbol table is + searched last in first, insert mdebug or XCOFF info into the + partial symbol table before any DWARF2 info. + +Thu Dec 18 00:00:48 1997 Andrew Cagney <cagney@b1.cygnus.com> + + * symfile.c (init_psymbol_list): Handle init with zero elements. + + * elfread.c (elf_symfile_read): If `mainline', clear psymbol table + using init_psymbol_list 0. For build_psymtabs functions, pass + mainline==0 so that psymbol_list isn't re-initialized. + + * symfile.c (discard_psymtab): New function, correctly unlink an + empty psymtab from an object file. + * dbxread.c (end_psymtab): Call discard_psymtab. + * xcoffread.c (xcoff_end_psymtab): Ditto. + * hpread.c (hpread_end_psymtab): Ditto. + * os9kread.c (os9k_end_psymtab): Ditto. + Wed Dec 17 10:47:05 1997 Michael Snyder (msnyder@cleaver.cygnus.com) * tracepoint.c (set_raw_tracepoint): initialize addr_string |