aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
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/mi
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/mi')
-rw-r--r--gdb/mi/mi-interp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index e601ecd..0d67161 100644
--- a/gdb/mi/mi-interp.c
+++ b/gdb/mi/mi-interp.c
@@ -422,7 +422,7 @@ mi_on_resume (ptid_t ptid)
if (ptid_equal (ptid, minus_one_ptid) || ptid_is_pid (ptid))
tp = inferior_thread ();
else
- tp = find_thread_pid (ptid);
+ tp = find_thread_ptid (ptid);
/* Suppress output while calling an inferior function. */
if (tp->in_infcall)
@@ -461,7 +461,7 @@ mi_on_resume (ptid_t ptid)
}
else
{
- struct thread_info *ti = find_thread_pid (ptid);
+ struct thread_info *ti = find_thread_ptid (ptid);
gdb_assert (ti);
fprintf_unfiltered (raw_stdout, "*running,thread-id=\"%d\"\n", ti->num);
}