forked from Imagelibrary/binutils-gdb
gdb: make find_thread_ptid a process_stratum_target method
Make find_thread_ptid (the overload that takes a process_stratum_target) a method of process_stratum_target. Change-Id: Ib190a925a83c6b93e9c585dc7c6ab65efbdd8629 Reviewed-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
committed by
Simon Marchi
parent
3c8af02fa0
commit
9213a6d79a
@@ -710,7 +710,7 @@ continue_command (const char *args, int from_tty)
|
||||
ptid_t last_ptid;
|
||||
|
||||
get_last_target_status (&last_target, &last_ptid, nullptr);
|
||||
tp = find_thread_ptid (last_target, last_ptid);
|
||||
tp = last_target->find_thread (last_ptid);
|
||||
}
|
||||
if (tp != nullptr)
|
||||
bs = tp->control.stop_bpstat;
|
||||
|
||||
Reference in New Issue
Block a user