From 184ea2f7316c54dd5e0fa84f1fe07a222e8fb44c Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 16 Sep 2021 13:06:27 -0600 Subject: 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 --- gdb/ravenscar-thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/ravenscar-thread.c') diff --git a/gdb/ravenscar-thread.c b/gdb/ravenscar-thread.c index 490af3a..634af46 100644 --- a/gdb/ravenscar-thread.c +++ b/gdb/ravenscar-thread.c @@ -251,7 +251,7 @@ ravenscar_thread_target::get_base_thread_from_ravenscar_task (ptid_t ptid) return ptid; base_cpu = get_thread_base_cpu (ptid); - return ptid_t (ptid.pid (), base_cpu, 0); + return ptid_t (ptid.pid (), base_cpu); } /* Fetch the ravenscar running thread from target memory, make sure -- cgit v1.1