gdb/
[deliverable/binutils-gdb.git] / gdb / objfiles.c
index 1f7489f22d8f4b96f6a633b6690f04854bb77189..8dcca702a76f5b742649afb644104c8a06e1656c 100644 (file)
@@ -459,8 +459,8 @@ free_objfile (struct objfile *objfile)
 
   unlink_objfile (objfile);
 
-  /* If we are going to free the runtime common objfile, mark it
-     as unallocated.  */
+  if (objfile == symfile_objfile)
+    symfile_objfile = NULL;
 
   if (objfile == rt_common_objfile)
     rt_common_objfile = NULL;
This page took 0.025821 seconds and 4 git commands to generate.