* symfile.c (syms_from_bfd): New routine.

(add_symbol_file):  Call it to do the real work.
(syms_from_bfd):  Initialize entry_point before calling symfile_init.
* symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c:
Avoid declaring or setting entry_point (symfile.h & symfile.c cope).
This commit is contained in:
John Gilmore
1991-10-26 08:02:23 +00:00
parent 2ce38c6d29
commit d47d5315c8
5 changed files with 86 additions and 49 deletions

View File

@@ -93,7 +93,6 @@ typedef unsigned int DIEREF; /* Reference to a DIE */
#define STREQ(a,b) (strcmp(a,b)==0)
extern CORE_ADDR entry_point; /* Process entry point */
extern CORE_ADDR startup_file_start; /* From blockframe.c */
extern CORE_ADDR startup_file_end; /* From blockframe.c */
extern CORE_ADDR entry_scope_lowpc; /* From blockframe.c */