2009-07-22 Paul Pluzhnikov <ppluzhnikov@google.com>

* symfile.c (symbol_file_add_with_addrs_or_offsets): Call observer.
This commit is contained in:
Paul Pluzhnikov 2009-07-22 20:00:34 +00:00
parent bb27289292
commit 8caee43bac
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-07-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* symfile.c (symbol_file_add_with_addrs_or_offsets): Call observer.
2009-07-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* objfiles.h (objfiles_changed): New prototype.

View 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);