diff options
Diffstat (limited to 'gdb/solib-spu.c')
-rw-r--r-- | gdb/solib-spu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-spu.c b/gdb/solib-spu.c index 943ebf5..cb735fd 100644 --- a/gdb/solib-spu.c +++ b/gdb/solib-spu.c @@ -30,7 +30,7 @@ #include "solist.h" #include "inferior.h" #include "objfiles.h" -#include "observer.h" +#include "observable.h" #include "breakpoint.h" #include "gdbthread.h" #include "gdb_bfd.h" @@ -545,7 +545,7 @@ spu_solib_loaded (struct so_list *so) void _initialize_spu_solib (void) { - observer_attach_solib_loaded (spu_solib_loaded); + gdb::observers::solib_loaded.attach (spu_solib_loaded); ocl_program_data_key = register_objfile_data (); } |