From 26a57c9256d7ec2b4da2f1d85a9fba830948dbd9 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 11 Jun 2018 14:35:00 -0600 Subject: Remove ptid_match This removes ptid_match in favor of the ptid_t::matches method. gdb/ChangeLog 2018-07-03 Tom Tromey * 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 * server.c: Update. --- gdb/remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/remote.c') diff --git a/gdb/remote.c b/gdb/remote.c index 834305831c5..c72060fe23b 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) { -- cgit v1.2.1