aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/target.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-05-24 21:06:53 +0000
committerDoug Evans <dje@google.com>2009-05-24 21:06:53 +0000
commite09875d41026beb03eae1a65510ca40ed3a5d6c1 (patch)
treeb49d287ff4f61ffbb34feea63751e7ad7abcd7a1 /gdb/gdbserver/target.c
parent4e3990f4f91f2c3b0dd64fa80ce4662151763323 (diff)
downloadgdb-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/gdbserver/target.c')
-rw-r--r--gdb/gdbserver/target.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdbserver/target.c b/gdb/gdbserver/target.c
index bbfb5fd..b8ad9eb 100644
--- a/gdb/gdbserver/target.c
+++ b/gdb/gdbserver/target.c
@@ -29,7 +29,7 @@ set_desired_inferior (int use_general)
struct thread_info *found;
if (use_general == 1)
- found = find_thread_pid (general_thread);
+ found = find_thread_ptid (general_thread);
else
{
found = NULL;
@@ -41,10 +41,10 @@ set_desired_inferior (int use_general)
&& !ptid_equal (step_thread, minus_one_ptid))
&& (ptid_equal (cont_thread, null_ptid)
|| ptid_equal (cont_thread, minus_one_ptid)))
- found = find_thread_pid (step_thread);
+ found = find_thread_ptid (step_thread);
if (found == NULL)
- found = find_thread_pid (cont_thread);
+ found = find_thread_ptid (cont_thread);
}
if (found == NULL)