]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/dummy-frame.c
Convert observers to C++
[thirdparty/binutils-gdb.git] / gdb / dummy-frame.c
index a67033e6f2cca89b91acdb43c9fcc669740de5a2..82e7251ccecc53ac203eae707e17fce94b32a3fd 100644 (file)
@@ -26,7 +26,7 @@
 #include "frame-unwind.h"
 #include "command.h"
 #include "gdbcmd.h"
-#include "observer.h"
+#include "observable.h"
 #include "gdbthread.h"
 #include "infcall.h"
 
@@ -424,5 +424,5 @@ _initialize_dummy_frame (void)
           _("Print the contents of the internal dummy-frame stack."),
           &maintenanceprintlist);
 
-  observer_attach_inferior_created (cleanup_dummy_frames);
+  gdb::observers::inferior_created.attach (cleanup_dummy_frames);
 }