gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / run-on-main-thread.c
index 86824b5af4a4e38dbfce3cb32cf37e4b7249dbdb..2cc93e430d84e256baaf162f410fe306c19d542f 100644 (file)
@@ -1,5 +1,5 @@
 /* Run a function on the main thread
-   Copyright (C) 2019 Free Software Foundation, Inc.
+   Copyright (C) 2019-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -22,7 +22,7 @@
 #if CXX_STD_THREAD
 #include <mutex>
 #endif
-#include "event-loop.h"
+#include "gdbsupport/event-loop.h"
 
 /* The serial event used when posting runnables.  */
 
@@ -89,6 +89,7 @@ run_on_main_thread (std::function<void ()> &&func)
   serial_event_set (runnable_event);
 }
 
+void _initialize_run_on_main_thread ();
 void
 _initialize_run_on_main_thread ()
 {
This page took 0.024229 seconds and 4 git commands to generate.