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/linux-nat.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/linux-nat.c')
-rw-r--r-- | gdb/linux-nat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index f93ea9f..c3cce49 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -1096,7 +1096,7 @@ linux_nat_switch_fork (ptid_t new_ptid) static void exit_lwp (struct lwp_info *lp) { - struct thread_info *th = find_thread_pid (lp->ptid); + struct thread_info *th = find_thread_ptid (lp->ptid); if (th) { @@ -1426,7 +1426,7 @@ get_pending_status (struct lwp_info *lp, int *status) have the last signal recorded in thread_info->stop_signal. */ - struct thread_info *tp = find_thread_pid (lp->ptid); + struct thread_info *tp = find_thread_ptid (lp->ptid); signo = tp->stop_signal; } @@ -1455,7 +1455,7 @@ GPT: lwp %s had signal %s, but it is in no pass state\n", { if (GET_LWP (lp->ptid) == GET_LWP (last_ptid)) { - struct thread_info *tp = find_thread_pid (lp->ptid); + struct thread_info *tp = find_thread_ptid (lp->ptid); if (tp->stop_signal != TARGET_SIGNAL_0 && signal_pass_state (tp->stop_signal)) *status = W_STOPCODE (target_signal_to_host (tp->stop_signal)); @@ -4515,7 +4515,7 @@ linux_nat_stop_lwp (struct lwp_info *lwp, void *data) if (debug_linux_nat) { - if (find_thread_pid (lwp->ptid)->stop_requested) + if (find_thread_ptid (lwp->ptid)->stop_requested) fprintf_unfiltered (gdb_stdlog, "\ LNSL: already stopped/stop_requested %s\n", target_pid_to_str (lwp->ptid)); |