diff options
author | Tom Tromey <tom@tromey.com> | 2018-06-11 12:18:15 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-07-03 11:36:44 -0600 |
commit | 0e998d966be13e548721109a4e44b2887fc5cb24 (patch) | |
tree | ad4160f5b9cbe6fd4649701cc45a40a95944e95b /gdb/infrun.c | |
parent | cc6bcb548d67a5a0a7223d81bd43c299312320c8 (diff) | |
download | gdb-0e998d966be13e548721109a4e44b2887fc5cb24.zip gdb-0e998d966be13e548721109a4e44b2887fc5cb24.tar.gz gdb-0e998d966be13e548721109a4e44b2887fc5cb24.tar.bz2 |
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.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 91c7d1e..c1a0cad 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -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); } |