2009-07-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* symfile.c (symbol_file_add_with_addrs_or_offsets): Call observer.
This commit is contained in:
parent
bb27289292
commit
8caee43bac
@ -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.
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user