Remove defaulted 'tid' parameter to ptid_t constructor

I wanted to find, and potentially modify, all the spots where the
'tid' parameter to the ptid_t constructor was used.  So, I temporarily
removed this parameter and then rebuilt.

In order to make it simpler to search through the "real" (nonzero)
uses of this parameter, something I knew I'd have to do multiple
times, I removed any ", 0" from constructor calls.

Co-Authored-By: John Baldwin <jhb@FreeBSD.org>
This commit is contained in:
Tom Tromey
2021-09-16 13:06:27 -06:00
parent 334381ea46
commit 184ea2f731
12 changed files with 32 additions and 33 deletions

@ -41,7 +41,7 @@
struct fork_info
{
explicit fork_info (pid_t pid)
: ptid (pid, pid, 0)
: ptid (pid, pid)
{
}