+2014-10-19 Doug Evans <xdje42@gmail.com>
+
+ * gdbthread.h (set_running): Fix comment.
+ (set_executing, finish_thread_state): Fix comment.
+
2014-10-18 Doug Evans <xdje42@gmail.com>
* linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
extern void switch_to_thread (ptid_t ptid);
/* Marks thread PTID is running, or stopped.
- If ptid_get_pid (PTID) is -1, marks all threads. */
+ If PTID is minus_one_ptid, marks all threads. */
extern void set_running (ptid_t ptid, int running);
/* Marks or clears thread(s) PTID as having been requested to stop.
/* In the frontend's perpective, is this thread stopped? */
extern int is_stopped (ptid_t ptid);
-/* Marks thread PTID as executing, or not. If ptid_get_pid (PTID) is -1,
+/* Marks thread PTID as executing, or not. If PTID is minus_one_ptid,
marks all threads.
Note that this is different from the running state. See the
"executing" -> "running"
"exited" -> "exited"
- If ptid_get_pid (PTID) is -1, go over all threads.
+ If PTID is minus_one_ptid, go over all threads.
Notifications are only emitted if the thread state did change. */
extern void finish_thread_state (ptid_t ptid);