From 9213a6d79a64446de3c176773f123d1f8b9311b4 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 27 Mar 2023 12:53:55 -0400 Subject: 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 --- gdb/thread-iter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/thread-iter.c') diff --git a/gdb/thread-iter.c b/gdb/thread-iter.c index 9fc8c8a..f61ce7f 100644 --- a/gdb/thread-iter.c +++ b/gdb/thread-iter.c @@ -122,7 +122,7 @@ all_matching_threads_iterator::all_matching_threads_iterator /* Iterate on a single thread. */ m_mode = mode::SINGLE_THREAD; - m_thr = find_thread_ptid (filter_target, filter_ptid); + m_thr = filter_target->find_thread (filter_ptid); } } } -- cgit v1.1