diff options
author | Tom Tromey <tom@tromey.com> | 2018-06-11 12:20:11 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-07-03 11:36:45 -0600 |
commit | 15a9e13e521ec3acb4bd3616f349b9d19780cd48 (patch) | |
tree | a5116c4d4fd14d48d1a8405a6338b592065187ea /gdb/common | |
parent | 0e998d966be13e548721109a4e44b2887fc5cb24 (diff) | |
download | gdb-15a9e13e521ec3acb4bd3616f349b9d19780cd48.zip gdb-15a9e13e521ec3acb4bd3616f349b9d19780cd48.tar.gz gdb-15a9e13e521ec3acb4bd3616f349b9d19780cd48.tar.bz2 |
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/common')
-rw-r--r-- | gdb/common/ptid.c | 8 | ||||
-rw-r--r-- | gdb/common/ptid.h | 4 |
2 files changed, 0 insertions, 12 deletions
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); |