mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
Revert gdbthread.h (any_running): Declare.
Not properly marked as 1/2. This reverts commit 1a76d598884a052dacd8feb49f1999e1a0d537f1.
This commit is contained in:
12
gdb/thread.c
12
gdb/thread.c
@ -647,18 +647,6 @@ is_running (ptid_t ptid)
|
||||
return is_thread_state (ptid, THREAD_RUNNING);
|
||||
}
|
||||
|
||||
int
|
||||
any_running (void)
|
||||
{
|
||||
struct thread_info *tp;
|
||||
|
||||
for (tp = thread_list; tp; tp = tp->next)
|
||||
if (tp->state == THREAD_RUNNING)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
is_executing (ptid_t ptid)
|
||||
{
|
||||
|
Reference in New Issue
Block a user