* symfile.c (syms_from_objfile): Update.

(reread_symbols): Update.
	* objfiles.h (OBJF_SYMS): Remove.
	(OBJF_REORDERED): Renumber.
	(OBJF_SHARED): Likewise.
	(OBJF_READNOW): Likewise.
	(OBJF_USERLOADED): Likewise.
This commit is contained in:
Tom Tromey 2008-10-01 17:21:06 +00:00
parent 712f90be02
commit 8b41ec6501
3 changed files with 14 additions and 19 deletions

View file

@ -896,11 +896,6 @@ syms_from_objfile (struct objfile *objfile,
(*objfile->sf->sym_read) (objfile, mainline);
/* Mark the objfile has having had initial symbol read attempted. Note
that this does not mean we found any symbols... */
objfile->flags |= OBJF_SYMS;
/* Discard cleanups as symbol reading was successful. */
discard_cleanups (old_chain);
@ -2440,7 +2435,6 @@ reread_symbols (void)
printf_unfiltered (_("(no debugging symbols found)\n"));
wrap_here ("");
}
objfile->flags |= OBJF_SYMS;
/* We're done reading the symbol file; finish off complaints. */
clear_complaints (&symfile_complaints, 0, 1);