diff options
author | Doug Evans <dje@google.com> | 2009-05-24 21:06:53 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-05-24 21:06:53 +0000 |
commit | e24ff4483d0bff673eb239913a443d494537549d (patch) | |
tree | 718564470bd7aa8aebaae53ef784a7a00a368b8b /gdb/inf-ttrace.c | |
parent | ac4005abc7a136127ae046db10aa5eaffe7a0aee (diff) | |
download | gdb-e24ff4483d0bff673eb239913a443d494537549d.tar.gz |
gdb:
Global renaming of find_thread_pid to find_thread_ptid.
* gdbthread.h (find_thread_ptid): Renamed from find_thread_pid.
* thread.c (find_thread_ptid): Renamed from find_thread_pid.
All callers updated.
gdbserver:
Global renaming of find_thread_pid to find_thread_ptid.
* server.h (find_thread_ptid): Renamed from find_thread_pid.
* inferiors.c (find_thread_ptid): Renamed from find_thread_pid.
All callers updated.
Diffstat (limited to 'gdb/inf-ttrace.c')
-rw-r--r-- | gdb/inf-ttrace.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/inf-ttrace.c b/gdb/inf-ttrace.c index ffec586ed92..e136c24fd8f 100644 --- a/gdb/inf-ttrace.c +++ b/gdb/inf-ttrace.c @@ -884,7 +884,7 @@ inf_ttrace_resume (struct target_ops *ops, if (resume_all) ptid = inferior_ptid; - info = find_thread_pid (ptid); + info = find_thread_ptid (ptid); inf_ttrace_resume_lwp (info, request, sig); if (resume_all) @@ -957,7 +957,7 @@ inf_ttrace_wait (struct target_ops *ops, /* We haven't set the private member on the main thread yet. Do it now. */ - ti = find_thread_pid (inferior_ptid); + ti = find_thread_ptid (inferior_ptid); gdb_assert (ti != NULL && ti->private == NULL); ti->private = xmalloc (sizeof (struct inf_ttrace_private_thread_info)); @@ -1058,7 +1058,7 @@ inf_ttrace_wait (struct target_ops *ops, case TTEVT_LWP_EXIT: if (print_thread_events) printf_unfiltered (_("[%s exited]\n"), target_pid_to_str (ptid)); - ti = find_thread_pid (ptid); + ti = find_thread_ptid (ptid); gdb_assert (ti != NULL); ((struct inf_ttrace_private_thread_info *)ti->private)->dying = 1; inf_ttrace_num_lwps--; @@ -1075,7 +1075,7 @@ inf_ttrace_wait (struct target_ops *ops, if (print_thread_events) printf_unfiltered(_("[%s has been terminated]\n"), target_pid_to_str (ptid)); - ti = find_thread_pid (ptid); + ti = find_thread_ptid (ptid); gdb_assert (ti != NULL); ((struct inf_ttrace_private_thread_info *)ti->private)->dying = 1; inf_ttrace_num_lwps--; |