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>
|
2009-07-22 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||||
|
|
||||||
* objfiles.h (objfiles_changed): New prototype.
|
* objfiles.h (objfiles_changed): New prototype.
|
||||||
|
|
|
@ -1080,7 +1080,10 @@ symbol_file_add_with_addrs_or_offsets (bfd *abfd,
|
||||||
do_cleanups (my_cleanups);
|
do_cleanups (my_cleanups);
|
||||||
|
|
||||||
if (objfile->sf == NULL)
|
if (objfile->sf == NULL)
|
||||||
|
{
|
||||||
|
observer_notify_new_objfile (objfile);
|
||||||
return objfile; /* No symbols. */
|
return objfile; /* No symbols. */
|
||||||
|
}
|
||||||
|
|
||||||
new_symfile_objfile (objfile, add_flags);
|
new_symfile_objfile (objfile, add_flags);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue