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 | e09875d41026beb03eae1a65510ca40ed3a5d6c1 (patch) | |
tree | b49d287ff4f61ffbb34feea63751e7ad7abcd7a1 /gdb/inf-ttrace.c | |
parent | 4e3990f4f91f2c3b0dd64fa80ce4662151763323 (diff) | |
download | gdb-e09875d41026beb03eae1a65510ca40ed3a5d6c1.zip gdb-e09875d41026beb03eae1a65510ca40ed3a5d6c1.tar.gz gdb-e09875d41026beb03eae1a65510ca40ed3a5d6c1.tar.bz2 |
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 ffec586..e136c24 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--; |