From 15a9e13e521ec3acb4bd3616f349b9d19780cd48 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 11 Jun 2018 12:20:11 -0600 Subject: 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 * 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. --- gdb/common/ptid.c | 8 -------- gdb/common/ptid.h | 4 ---- 2 files changed, 12 deletions(-) (limited to 'gdb/common') diff --git a/gdb/common/ptid.c b/gdb/common/ptid.c index 1e71104..9bf6e2d 100644 --- a/gdb/common/ptid.c +++ b/gdb/common/ptid.c @@ -36,14 +36,6 @@ ptid_equal (const ptid_t &ptid1, const ptid_t &ptid2) /* See ptid.h. */ int -ptid_lwp_p (const ptid_t &ptid) -{ - return ptid.lwp_p (); -} - -/* See ptid.h. */ - -int ptid_tid_p (const ptid_t &ptid) { return ptid.tid_p (); diff --git a/gdb/common/ptid.h b/gdb/common/ptid.h index 61a8d5f..8830dce 100644 --- a/gdb/common/ptid.h +++ b/gdb/common/ptid.h @@ -160,10 +160,6 @@ extern ptid_t minus_one_ptid; extern int ptid_equal (const ptid_t &ptid1, const ptid_t &ptid2); -/* See ptid_t::lwp_p. */ - -extern int ptid_lwp_p (const ptid_t &ptid); - /* See ptid_t::tid_p. */ extern int ptid_tid_p (const ptid_t &ptid); -- cgit v1.1