aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/thread.c')
-rw-r--r--gdb/thread.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index f90606c..15da5b6 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -589,6 +589,15 @@ prune_threads (void)
}
void
+thread_change_ptid (ptid_t old_ptid, ptid_t new_ptid)
+{
+ struct thread_info * tp = find_thread_pid (old_ptid);
+ tp->ptid = new_ptid;
+
+ observer_notify_thread_ptid_changed (old_ptid, new_ptid);
+}
+
+void
set_running (ptid_t ptid, int running)
{
struct thread_info *tp;