summaryrefslogtreecommitdiff
path: root/gdb/sol-thread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-06-11 12:20:11 -0600
committerTom Tromey <tom@tromey.com>2018-07-03 11:36:45 -0600
commit15a9e13e521ec3acb4bd3616f349b9d19780cd48 (patch)
treea5116c4d4fd14d48d1a8405a6338b592065187ea /gdb/sol-thread.c
parent0e998d966be13e548721109a4e44b2887fc5cb24 (diff)
downloadbinutils-gdb-15a9e13e521ec3acb4bd3616f349b9d19780cd48.tar.gz
Remove ptid_lwp_p
This removes ptid_lwp_p in favor of the ptid_t::lwp_p method. gdb/ChangeLog 2018-07-03 Tom Tromey <tom@tromey.com> * common/ptid.c (ptid_lwp_p): Remove. * common/ptid.h (ptid_lwp_p): Don't declare. * fbsd-nat.c: Update. * linux-nat.c: Update. * nat/linux-procfs.c: Update. * nat/x86-linux-dregs.c: Update. * sol-thread.c: Update.
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r--gdb/sol-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index 95248f2c17f..bb73c4a0315 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -300,7 +300,7 @@ thread_to_lwp (ptid_t thread_id, int default_lwp)
td_thrhandle_t th;
td_err_e val;
- if (ptid_lwp_p (thread_id))
+ if (thread_id.lwp_p ())
return thread_id; /* It's already an LWP ID. */
/* It's a thread. Convert to LWP. */