From 1a76d598884a052dacd8feb49f1999e1a0d537f1 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 10 Jul 2014 11:15:32 -0700 Subject: * gdbthread.h (any_running): Declare. * thread.c (any_running): New function. --- gdb/gdbthread.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/gdbthread.h') 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. -- cgit v1.1