mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
Remove any_running
Function any_running isn't used. This patch is to remove it. Rebuild GDB for linux and mingw. gdb: 2014-06-19 Yao Qi <yao@codesourcery.com> * gdbthread.h (any_running): Remove the declaration. * thread.c (any_running): Remove.
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