]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
gdb: remove duplicate declaration of 'find_thread_ptid'
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Tue, 29 Jun 2021 06:26:06 +0000 (08:26 +0200)
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Tue, 29 Jun 2021 06:36:12 +0000 (08:36 +0200)
commit4743af62eb6f00c385dccff54df43ae0bbf31cd3
tree8859a757df7a19849a9711c921e5a03f2290fd55
parentfda2f85e587cc9692ad19c396a170fdfde740476
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.
gdb/ChangeLog
gdb/gdbthread.h