mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-25 16:57:52 +00:00
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.
This commit is contained in:
@@ -1351,7 +1351,7 @@ signal_command (const char *signum_exp, int from_tty)
|
||||
{
|
||||
if (ptid_equal (tp->ptid, inferior_ptid))
|
||||
continue;
|
||||
if (!ptid_match (tp->ptid, resume_ptid))
|
||||
if (!tp->ptid.matches (resume_ptid))
|
||||
continue;
|
||||
|
||||
if (tp->suspend.stop_signal != GDB_SIGNAL_0
|
||||
|
||||
Reference in New Issue
Block a user