aboutsummaryrefslogtreecommitdiff
path: root/gdb/common
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-06-11 12:22:04 -0600
committerTom Tromey <tom@tromey.com>2018-07-03 11:36:45 -0600
commitd2a107e3f9e84808ae0860693f1c488b1e3f5559 (patch)
tree235bcb73fe1b64d806664359bff1fcc0097a528c /gdb/common
parent15a9e13e521ec3acb4bd3616f349b9d19780cd48 (diff)
downloadgdb-d2a107e3f9e84808ae0860693f1c488b1e3f5559.zip
gdb-d2a107e3f9e84808ae0860693f1c488b1e3f5559.tar.gz
gdb-d2a107e3f9e84808ae0860693f1c488b1e3f5559.tar.bz2
Remove ptid_tid_p
This removes ptid_tid_p in favor of the ptid_t::tid_p method. gdb/ChangeLog 2018-07-03 Tom Tromey <tom@tromey.com> * common/ptid.c (ptid_tid_p): Remove. * common/ptid.h (ptid_tid_p): Don't declare. * sol-thread.c: Update.
Diffstat (limited to 'gdb/common')
-rw-r--r--gdb/common/ptid.c8
-rw-r--r--gdb/common/ptid.h4
2 files changed, 0 insertions, 12 deletions
diff --git a/gdb/common/ptid.c b/gdb/common/ptid.c
index 9bf6e2d..e0f62b1 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_tid_p (const ptid_t &ptid)
-{
- return ptid.tid_p ();
-}
-
-/* See ptid.h. */
-
-int
ptid_match (const ptid_t &ptid, const ptid_t &filter)
{
return ptid.matches (filter);
diff --git a/gdb/common/ptid.h b/gdb/common/ptid.h
index 8830dce..86878de 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::tid_p. */
-
-extern int ptid_tid_p (const ptid_t &ptid);
-
/* See ptid_t::matches. */
extern int ptid_match (const ptid_t &ptid, const ptid_t &filter);