aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-06-11 14:35:00 -0600
committerTom Tromey <tom@tromey.com>2018-07-03 11:36:45 -0600
commit26a57c9256d7ec2b4da2f1d85a9fba830948dbd9 (patch)
tree3d6e95a05146b2eea1a317bee32302f3779c86af /gdb/remote.c
parentd2a107e3f9e84808ae0860693f1c488b1e3f5559 (diff)
downloadgdb-26a57c9256d7ec2b4da2f1d85a9fba830948dbd9.zip
gdb-26a57c9256d7ec2b4da2f1d85a9fba830948dbd9.tar.gz
gdb-26a57c9256d7ec2b4da2f1d85a9fba830948dbd9.tar.bz2
Remove ptid_match
This removes ptid_match in favor of the ptid_t::matches method. gdb/ChangeLog 2018-07-03 Tom Tromey <tom@tromey.com> * common/ptid.c (ptid_match): Remove. * common/ptid.h (ptid_match): Don't declare. * fbsd-nat.c: Update. * infcmd.c: Update. * infrun.c: Update. * linux-nat.c: Update. * record-btrace.c: Update. * regcache.c: Update. * remote.c: Update. gdb/gdbserver/ChangeLog 2018-07-03 Tom Tromey <tom@tromey.com> * server.c: Update.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 8343058..c72060f 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -6075,7 +6075,7 @@ remote_target::append_pending_thread_resumptions (char *p, char *endp,
struct thread_info *thread;
ALL_NON_EXITED_THREADS (thread)
- if (ptid_match (thread->ptid, ptid)
+ if (thread->ptid.matches (ptid)
&& !ptid_equal (inferior_ptid, thread->ptid)
&& thread->suspend.stop_signal != GDB_SIGNAL_0)
{