aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbthread.h')
-rw-r--r--gdb/gdbthread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h
index 9ef74cd..ca52983 100644
--- a/gdb/gdbthread.h
+++ b/gdb/gdbthread.h
@@ -363,6 +363,9 @@ extern int is_exited (ptid_t ptid);
/* In the frontend's perpective, is this thread stopped? */
extern int is_stopped (ptid_t ptid);
+/* In the frontend's perpective is there any thread running? */
+extern int any_running (void);
+
/* Marks thread PTID as executing, or not. If ptid_get_pid (PTID) is -1,
marks all threads.