diff options
Diffstat (limited to 'gdb/extension.c')
-rw-r--r-- | gdb/extension.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/extension.c b/gdb/extension.c index 67f83b4..4e3b3e9 100644 --- a/gdb/extension.c +++ b/gdb/extension.c @@ -28,7 +28,7 @@ #include "event-top.h" #include "extension.h" #include "extension-priv.h" -#include "observer.h" +#include "observable.h" #include "cli/cli-script.h" #include "python/python.h" #include "guile/guile.h" @@ -945,5 +945,5 @@ ext_lang_before_prompt (const char *current_gdb_prompt) void _initialize_extension (void) { - observer_attach_before_prompt (ext_lang_before_prompt); + gdb::observers::before_prompt.attach (ext_lang_before_prompt); } |