mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
Remove ptid_is_pid
This removes ptid_is_pid in favor of the ptid_t::is_pid method. gdb/ChangeLog 2018-07-03 Tom Tromey <tom@tromey.com> * common/ptid.c (ptid_is_pid): Remove. * common/ptid.h (ptid_is_pid): Don't declare. * infrun.c: Update. * linux-nat.c: Update. * mi/mi-interp.c: Update. * remote.c: Update. * thread.c: Update. gdb/gdbserver/ChangeLog 2018-07-03 Tom Tromey <tom@tromey.com> * linux-low.c: Update.
This commit is contained in:
@@ -3493,7 +3493,7 @@ do_target_wait (ptid_t ptid, struct target_waitstatus *status, int options)
|
||||
|
||||
/* First check if there is a resumed thread with a wait status
|
||||
pending. */
|
||||
if (ptid_equal (ptid, minus_one_ptid) || ptid_is_pid (ptid))
|
||||
if (ptid_equal (ptid, minus_one_ptid) || ptid.is_pid ())
|
||||
{
|
||||
tp = random_pending_event_thread (ptid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user