aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.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/infcmd.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/infcmd.c')
-rw-r--r--gdb/infcmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 0ad1170..b489e9e 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -709,14 +709,14 @@ Can't resume all threads and specify proceed count simultaneously."));
struct thread_info *tp;
if (non_stop)
- tp = find_thread_pid (inferior_ptid);
+ tp = find_thread_ptid (inferior_ptid);
else
{
ptid_t last_ptid;
struct target_waitstatus ws;
get_last_target_status (&last_ptid, &ws);
- tp = find_thread_pid (last_ptid);
+ tp = find_thread_ptid (last_ptid);
}
if (tp != NULL)
bs = tp->stop_bpstat;
@@ -1583,7 +1583,7 @@ program_info (char *args, int from_tty)
else if (is_running (ptid))
error (_("Selected thread is running."));
- tp = find_thread_pid (ptid);
+ tp = find_thread_ptid (ptid);
bs = tp->stop_bpstat;
stat = bpstat_num (&bs, &num);