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:
parent
d2a107e3f9
commit
26a57c9256
12 changed files with 40 additions and 36 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue