gdb: fix vfork with multiple threads
[deliverable/binutils-gdb.git] / gdb / infrun.h
index 7ebb9fc9f4e646a587e4370b409116d61c7c580f..2d742849c5499cb77819b4ba6a98640edf06d6fe 100644 (file)
@@ -38,8 +38,8 @@ extern bool debug_infrun;
 
 /* Print "infrun" start/end debug statements.  */
 
-#define INFRUN_SCOPED_DEBUG_START_END(msg) \
-  scoped_debug_start_end (debug_infrun, "infrun", msg)
+#define INFRUN_SCOPED_DEBUG_START_END(msg, ...) \
+  scoped_debug_start_end (debug_infrun, "infrun", msg, ##__VA_ARGS__)
 
 /* Print "infrun" enter/exit debug statements.  */
 
@@ -138,7 +138,7 @@ extern void set_last_target_status (process_stratum_target *target, ptid_t ptid,
 extern void nullify_last_target_wait_ptid ();
 
 /* Stop all threads.  Only returns after everything is halted.  */
-extern void stop_all_threads (void);
+extern void stop_all_threads (const char *reason, struct inferior *inf = nullptr);
 
 extern void prepare_for_detach (void);
 
This page took 0.023162 seconds and 4 git commands to generate.