aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbthread.h
diff options
context:
space:
mode:
authorMarc Khouzam <marc.khouzam@ericsson.com>2011-04-19 15:16:14 +0000
committerMarc Khouzam <marc.khouzam@ericsson.com>2011-04-19 15:16:14 +0000
commit9941e0c5c123c37b55ff77cb4caa78e87b95823e (patch)
tree8dadb10884370182b36c5fd40e52f7d18f65d639 /gdb/gdbthread.h
parented4b0e6a5218948292b2a22e28537a3b0e1c9bd8 (diff)
downloadgdb-9941e0c5c123c37b55ff77cb4caa78e87b95823e.zip
gdb-9941e0c5c123c37b55ff77cb4caa78e87b95823e.tar.gz
gdb-9941e0c5c123c37b55ff77cb4caa78e87b95823e.tar.bz2
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 43db95a..0b19a8d 100644
--- a/gdb/gdbthread.h
+++ b/gdb/gdbthread.h
@@ -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. */