diff options
author | Tom Tromey <tromey@adacore.com> | 2021-09-16 13:06:27 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2021-09-23 09:30:54 -0600 |
commit | 184ea2f7316c54dd5e0fa84f1fe07a222e8fb44c (patch) | |
tree | cb5f9fe2478d4c3e2233b7a575933c024fcbcb96 /gdbserver/remote-utils.cc | |
parent | 334381ea466c4735fe533a9864991b862c094b60 (diff) | |
download | fsf-binutils-gdb-184ea2f7316c54dd5e0fa84f1fe07a222e8fb44c.zip fsf-binutils-gdb-184ea2f7316c54dd5e0fa84f1fe07a222e8fb44c.tar.gz fsf-binutils-gdb-184ea2f7316c54dd5e0fa84f1fe07a222e8fb44c.tar.bz2 |
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>
Diffstat (limited to 'gdbserver/remote-utils.cc')
-rw-r--r-- | gdbserver/remote-utils.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbserver/remote-utils.cc b/gdbserver/remote-utils.cc index 198a75a..b79c2aa 100644 --- a/gdbserver/remote-utils.cc +++ b/gdbserver/remote-utils.cc @@ -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. |