gdb: make find_thread_ptid a process_stratum_target method
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 27 Mar 2023 16:53:55 +0000 (12:53 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 5 Apr 2023 01:05:31 +0000 (21:05 -0400)
commit9213a6d79a64446de3c176773f123d1f8b9311b4
tree6d7374a516e68130713eccfaf3ba60611809c104
parent3c8af02fa0b140edcde2a65d016f565aad1a699b
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>
25 files changed:
gdb/aarch64-tdep.c
gdb/aix-thread.c
gdb/amd-dbgapi-target.c
gdb/bsd-uthread.c
gdb/darwin-nat.c
gdb/fbsd-nat.c
gdb/gdbthread.h
gdb/gnu-nat.c
gdb/infcmd.c
gdb/infrun.c
gdb/linux-fork.c
gdb/linux-nat.c
gdb/linux-thread-db.c
gdb/mi/mi-interp.c
gdb/netbsd-nat.c
gdb/nto-procfs.c
gdb/process-stratum-target.c
gdb/process-stratum-target.h
gdb/procfs.c
gdb/ravenscar-thread.c
gdb/record-btrace.c
gdb/remote.c
gdb/thread-iter.c
gdb/thread.c
gdb/windows-nat.c