gdb: make find_thread_ptid an inferior method
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 27 Mar 2023 16:53:54 +0000 (12:53 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 5 Apr 2023 01:05:30 +0000 (21:05 -0400)
commit3c8af02fa0b140edcde2a65d016f565aad1a699b
tree7d738cf49a90ef27a9b700b5e914f6d91b765e73
parent91385d13a8820bf3e6274ec51d4da613bae67554
gdb: make find_thread_ptid an inferior method

Make find_thread_ptid (the overload that takes an inferior) a method of
struct inferior.

Change-Id: Ie5b9fa623ff35aa7ddb45e2805254fc8e83c9cd4
Reviewed-By: Tom Tromey <tom@tromey.com>
12 files changed:
gdb/ada-tasks.c
gdb/aix-thread.c
gdb/btrace.c
gdb/gdbthread.h
gdb/inferior.c
gdb/inferior.h
gdb/infrun.c
gdb/linux-thread-db.c
gdb/python/py-threadevent.c
gdb/ravenscar-thread.c
gdb/sol-thread.c
gdb/thread.c