summaryrefslogtreecommitdiff
path: root/gdb/gdbthread.h
diff options
context:
space:
mode:
authorMarc Khouzam <marc.khouzam@ericsson.com>2011-04-19 15:28:52 +0000
committerMarc Khouzam <marc.khouzam@ericsson.com>2011-04-19 15:28:52 +0000
commitc8b080aba0cdfd0623b86d186d0d46702e4edf5a (patch)
treebfad309f0621878abd3502106c3cb22ca6441f6a /gdb/gdbthread.h
parent303278cc8bd6eb780432dceb17bc53e2b5aff85a (diff)
downloadgdb-c8b080aba0cdfd0623b86d186d0d46702e4edf5a.tar.gz
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.
Diffstat (limited to 'gdb/gdbthread.h')
-rw-r--r--gdb/gdbthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h
index cd24eaf2fb0..217f9b95979 100644
--- a/gdb/gdbthread.h
+++ b/gdb/gdbthread.h
@@ -251,7 +251,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. */