aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/inf-loop.c')
-rw-r--r--gdb/inf-loop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/inf-loop.c b/gdb/inf-loop.c
index b8f66c3..dc3ffbb 100644
--- a/gdb/inf-loop.c
+++ b/gdb/inf-loop.c
@@ -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. */