diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-02-20 18:31:14 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-02-20 18:31:14 +0000 |
commit | 7134143f534f02e8a283bb1fc0a9f22300c90e8d (patch) | |
tree | 7df28797a4403c1f540ca84d0a1d3214ab06058e /gdb/somread.c | |
parent | cf466558d0faa40bd6cc78b7f4e983c5a3ec883b (diff) | |
download | gdb-7134143f534f02e8a283bb1fc0a9f22300c90e8d.zip gdb-7134143f534f02e8a283bb1fc0a9f22300c90e8d.tar.gz gdb-7134143f534f02e8a283bb1fc0a9f22300c90e8d.tar.bz2 |
* coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
* dbxread.c (elfstab_build_psymtabs): Don't call
install_minimal_symbols.
(stabsect_build_psymtabs): Likewise.
* elfread.c (elf_symfile_read): Call install_minimal_symbols
earlier.
* somread.c (som_symfile_read): Call install_minimal_symbols
and do_cleanups earlier.
* nlmread.c (nlm_symfile_read): Likewise.
* mdebugread.c (elfmdebug_build_psymtabs): Call
install_minimal_symbols and make appropriate cleanups.
Diffstat (limited to 'gdb/somread.c')
-rw-r--r-- | gdb/somread.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/somread.c b/gdb/somread.c index 6ba95a6..85d4f0a 100644 --- a/gdb/somread.c +++ b/gdb/somread.c @@ -353,6 +353,14 @@ som_symfile_read (struct objfile *objfile, int mainline) som_symtab_read (abfd, objfile, objfile->section_offsets); + /* Install any minimal symbols that have been collected as the current + minimal symbols for this objfile. + Further symbol-reading is done incrementally, file-by-file, + in a step known as "psymtab-to-symtab" expansion. hp-symtab-read.c + contains the code to do the actual DNTT scanning and symtab building. */ + install_minimal_symbols (objfile); + do_cleanups (back_to); + /* Now read information from the stabs debug sections. This is a no-op for SOM. Perhaps it is intended for some kind of mixed STABS/SOM @@ -366,16 +374,8 @@ som_symfile_read (struct objfile *objfile, int mainline) together with a scan of the GNTT. See hp-psymtab-read.c. */ hpread_build_psymtabs (objfile, mainline); - /* Install any minimal symbols that have been collected as the current - minimal symbols for this objfile. - Further symbol-reading is done incrementally, file-by-file, - in a step known as "psymtab-to-symtab" expansion. hp-symtab-read.c - contains the code to do the actual DNTT scanning and symtab building. */ - install_minimal_symbols (objfile); - /* Force hppa-tdep.c to re-read the unwind descriptors. */ objfile->obj_private = NULL; - do_cleanups (back_to); } /* Initialize anything that needs initializing when a completely new symbol |