Tue Feb 2 18:40:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>

* hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg
	passed to make_cleanup to the correct type.
	(hpread_quick_traverse): Change fifth arg to call to
	hpread_end_psymtab to be 0.
	Compare CURR_MODULE_END to 0 rather than NULL.
	Get rid of ifdef'ed out code.
	(scan_procs): Get rid of ifdef'ed out code.

	* somread.c (som_symfile_read): Coerce first argument passed to
	make_cleanup to the correct type.
This commit is contained in:
Elena Zannoni
1999-02-02 23:53:54 +00:00
parent 64381ab4ee
commit 17c9273aa1
3 changed files with 20 additions and 62 deletions

View File

@@ -366,7 +366,7 @@ som_symfile_read (objfile, section_offsets, mainline)
do_pxdb (symfile_bfd_open (objfile->name));
init_minimal_symbol_collection ();
back_to = make_cleanup (discard_minimal_symbols, 0);
back_to = make_cleanup ((make_cleanup_func) discard_minimal_symbols, 0);
/* Read in the import list and the export list. Currently
the export list isn't used; the import list is used in