]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/inf-loop.c
gdb/continuations: turn continuation functions into inferior methods
[thirdparty/binutils-gdb.git] / gdb / inf-loop.c
index b8f66c308d271742cd32d6c163771c57fc6f4c62..dc3ffbb27f3b115e1e3ad80412b8c04949cdc07a 100644 (file)
@@ -26,7 +26,6 @@
 #include "remote.h"
 #include "language.h"
 #include "gdbthread.h"
-#include "continuations.h"
 #include "interps.h"
 #include "top.h"
 #include "observable.h"
@@ -55,7 +54,7 @@ inferior_event_handler (enum inferior_event_type event_type)
       /* Do all continuations associated with the whole inferior (not
         a particular thread).  */
       if (inferior_ptid != null_ptid)
-       do_all_inferior_continuations ();
+       current_inferior ()->do_all_continuations ();
 
       /* When running a command list (from a user command, say), these
         are only run when the command list is all done.  */