gdb: remove duplicate declaration of 'find_thread_ptid'
There are two declarations of 'find_thread_ptid' in gdbthread.h with the same signature: /* Find (non-exited) thread PTID of inferior INF. */ extern thread_info *find_thread_ptid (inferior *inf, ptid_t ptid); and /* Search function to lookup a (non-exited) thread by 'ptid'. Only searches in threads of INF. */ extern struct thread_info *find_thread_ptid (inferior *inf, ptid_t ptid); Retain the former, remove the latter. Tested by rebuilding. gdb/ChangeLog: 2021-06-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> * gdbthread.h (find_thread_ptid): Remove the duplicate declaration.
This commit is contained in:
parent
fda2f85e58
commit
4743af62eb
2 changed files with 4 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
2021-06-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
|
||||
|
||||
* gdbthread.h (find_thread_ptid): Remove the duplicate declaration.
|
||||
|
||||
2021-06-28 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
PR gdb/28017
|
||||
|
|
|
@ -479,10 +479,6 @@ extern thread_info *find_thread_ptid (inferior *inf, ptid_t ptid);
|
|||
extern struct thread_info *find_thread_ptid (process_stratum_target *targ,
|
||||
ptid_t ptid);
|
||||
|
||||
/* Search function to lookup a (non-exited) thread by 'ptid'. Only
|
||||
searches in threads of INF. */
|
||||
extern struct thread_info *find_thread_ptid (inferior *inf, ptid_t ptid);
|
||||
|
||||
/* Find thread by GDB global thread ID. */
|
||||
struct thread_info *find_thread_global_id (int global_id);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue