2009-07-22 Paul Pluzhnikov <ppluzhnikov@google.com>
[deliverable/binutils-gdb.git] / gdb / symfile.c
index bbdb3ca069d44849d667f560f2aae6d7225299d4..36480c1f2529db4ca85d8129730a203065f8bd22 100644 (file)
@@ -1080,7 +1080,10 @@ symbol_file_add_with_addrs_or_offsets (bfd *abfd,
   do_cleanups (my_cleanups);
 
   if (objfile->sf == NULL)
-    return objfile;    /* No symbols. */
+    {
+      observer_notify_new_objfile (objfile);
+      return objfile;  /* No symbols. */
+    }
 
   new_symfile_objfile (objfile, add_flags);
 
This page took 0.024045 seconds and 4 git commands to generate.