mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
2011-04-19 Marc Khouzam <marc.khouzam@ericsson.com>
* thread.c (any_live_thread_of_process): Prioritize threads that are not executing. * gdbthread.h (any_live_thread_of_process): Update comment as per above change.
This commit is contained in:
@@ -287,7 +287,7 @@ struct thread_info *first_thread_of_process (int pid);
|
||||
extern struct thread_info *any_thread_of_process (int pid);
|
||||
|
||||
/* Returns any non-exited thread of process PID, giving preference for
|
||||
already stopped threads. */
|
||||
not executing threads. */
|
||||
extern struct thread_info *any_live_thread_of_process (int pid);
|
||||
|
||||
/* Change the ptid of thread OLD_PTID to NEW_PTID. */
|
||||
|
||||
Reference in New Issue
Block a user