From 8b41ec65018fe0a58338c0940a32f6486b621ecf Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 1 Oct 2008 17:21:06 +0000 Subject: * 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. --- gdb/symfile.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gdb/symfile.c') diff --git a/gdb/symfile.c b/gdb/symfile.c index 5964b84..92fa9da 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -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); -- cgit v1.1