mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 05:12:33 +08:00
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.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user