mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
2009-07-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* symfile.c (symbol_file_add_with_addrs_or_offsets): Call observer.
This commit is contained in:
@ -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)
|
||||
{
|
||||
observer_notify_new_objfile (objfile);
|
||||
return objfile; /* No symbols. */
|
||||
}
|
||||
|
||||
new_symfile_objfile (objfile, add_flags);
|
||||
|
||||
|
Reference in New Issue
Block a user