mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
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:
@ -581,7 +581,7 @@ read_ptid (const char *buf, const char **obuf)
|
||||
|
||||
if (obuf)
|
||||
*obuf = pp;
|
||||
return ptid_t (pid, tid, 0);
|
||||
return ptid_t (pid, tid);
|
||||
}
|
||||
|
||||
/* No multi-process. Just a tid. */
|
||||
@ -594,7 +594,7 @@ read_ptid (const char *buf, const char **obuf)
|
||||
|
||||
if (obuf)
|
||||
*obuf = pp;
|
||||
return ptid_t (pid, tid, 0);
|
||||
return ptid_t (pid, tid);
|
||||
}
|
||||
|
||||
/* Write COUNT bytes in BUF to the client.
|
||||
|
Reference in New Issue
Block a user