2009-10-12 Tristan Gingold <gingold@adacore.com>

* objfiles.c (objfile_has_symbols): New function.
	* objfiles.h (objfile_has_symbols): Add prototype.
	* symfile.c (symbol_file_add_with_addrs_or_offsets): Call
	objfile_has_symbols.
	(reread_symbols): Ditto.
This commit is contained in:
Tristan Gingold
2009-10-13 07:56:29 +00:00
parent fc3e1e3c7e
commit e361b228f2
4 changed files with 36 additions and 4 deletions

View File

@@ -476,6 +476,8 @@ extern int objfile_has_partial_symbols (struct objfile *objfile);
extern int objfile_has_full_symbols (struct objfile *objfile);
extern int objfile_has_symbols (struct objfile *objfile);
extern int have_partial_symbols (void);
extern int have_full_symbols (void);