* Makefile.in (VERSION): Bump to 4.6.2.

* Makefile.in (SFILES_MAINDIR):  Add stabsread.c
	* Makefile.in (OBS):  Add stabsread.o
	* Makefile.in (stabsread.o):  Add build rule.
	* stabsread.c, stabsread.h:  New files.
	* buildsym.c:  Split out stabs specific support to stabsread.c.
	* buildsym.h:  Split out stabs specific support to stabsread.h.
	* dbxread.c (stabsread.h):  Include
	* dbxread.c (dbx_new_init):  Call stabsread_new_init.
	* dbxread.c (dbx_psymtab_to_symtab_1):  Call stabsread_init.
	* dbxread.c (read_ofile_symtab):  Call end_stabs.
	* dbxread.c (process_one_symbol):  Call end_stabs and start_stabs.
	* dbxread.c (elfstab_build_psymtabs):  Call stabsread_new_init.
	* dwarfread.c (psymtab_to_symtab_1):  Call buildsym_init, add
	really_free_pendings to cleanups.
	* elfread.c (elf_new_init):  Call stabsread_new_init.
	* gdbtypes.c:  Small changes to maintenance commands.
	* mipsread.c (stabsread.h):  Include.
	* mipsread.c (psymtab_to_symtab_1):  Call end_stabs.
	* xcoffread.c (stabsread.h):  Include.
	* xcoffread.c (global_stabs):  Remove redundant def.
	* xcoffread.c (read_xcoff_symtab):  Call start_stabs and end_stabs.
This commit is contained in:
Fred Fish 1992-07-28 04:22:18 +00:00
parent 9e2b3581cb
commit d07734e31f
9 changed files with 3540 additions and 3196 deletions

View file

@ -2073,6 +2073,7 @@ psymtab_to_symtab_1 (pst)
struct partial_symtab *pst;
{
int i;
struct cleanup *old_chain;
if (pst != NULL)
{
@ -2105,6 +2106,8 @@ psymtab_to_symtab_1 (pst)
}
if (DBLENGTH (pst)) /* Otherwise it's a dummy */
{
buildsym_init ();
old_chain = make_cleanup (really_free_pendings, 0);
pst -> symtab = read_ofile_symtab (pst);
if (info_verbose)
{
@ -2113,6 +2116,7 @@ psymtab_to_symtab_1 (pst)
fflush (stdout);
}
sort_symtab_syms (pst -> symtab);
do_cleanups (old_chain);
}
pst -> readin = 1;
}