diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-07-22 20:00:34 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-07-22 20:00:34 +0000 |
commit | 8caee43bac0296eecebf3b9c80c48958044a95c5 (patch) | |
tree | 7848494d7a855d8f8b34e6bd0560e1db5f342e23 /gdb/symfile.c | |
parent | bb27289292f0e336ddd783e7781a00363fcd2e12 (diff) | |
download | gdb-8caee43bac0296eecebf3b9c80c48958044a95c5.zip gdb-8caee43bac0296eecebf3b9c80c48958044a95c5.tar.gz gdb-8caee43bac0296eecebf3b9c80c48958044a95c5.tar.bz2 |
2009-07-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* symfile.c (symbol_file_add_with_addrs_or_offsets): Call observer.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index bbdb3ca..36480c1 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -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); |