aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbthread.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-03-27 12:53:54 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-04-04 21:05:30 -0400
commit3c8af02fa0b140edcde2a65d016f565aad1a699b (patch)
tree7d738cf49a90ef27a9b700b5e914f6d91b765e73 /gdb/gdbthread.h
parent91385d13a8820bf3e6274ec51d4da613bae67554 (diff)
downloadgdb-3c8af02fa0b140edcde2a65d016f565aad1a699b.zip
gdb-3c8af02fa0b140edcde2a65d016f565aad1a699b.tar.gz
gdb-3c8af02fa0b140edcde2a65d016f565aad1a699b.tar.bz2
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>
Diffstat (limited to 'gdb/gdbthread.h')
-rw-r--r--gdb/gdbthread.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h
index 848daa9..81e4afd 100644
--- a/gdb/gdbthread.h
+++ b/gdb/gdbthread.h
@@ -672,9 +672,6 @@ extern bool in_thread_list (process_stratum_target *targ, ptid_t ptid);
global id, not the system's). */
extern int valid_global_thread_id (int global_id);
-/* Find (non-exited) thread PTID of inferior INF. */
-extern thread_info *find_thread_ptid (inferior *inf, ptid_t ptid);
-
/* Search function to lookup a (non-exited) thread by 'ptid'. */
extern struct thread_info *find_thread_ptid (process_stratum_target *targ,
ptid_t ptid);