aboutsummaryrefslogtreecommitdiff
path: root/gdb/common
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-06-11 12:18:15 -0600
committerTom Tromey <tom@tromey.com>2018-07-03 11:36:44 -0600
commit0e998d966be13e548721109a4e44b2887fc5cb24 (patch)
treead4160f5b9cbe6fd4649701cc45a40a95944e95b /gdb/common
parentcc6bcb548d67a5a0a7223d81bd43c299312320c8 (diff)
downloadgdb-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/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 11ef61c..1e71104 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_is_pid (const ptid_t &ptid)
-{
- return ptid.is_pid ();
-}
-
-/* See ptid.h. */
-
-int
ptid_lwp_p (const ptid_t &ptid)
{
return ptid.lwp_p ();
diff --git a/gdb/common/ptid.h b/gdb/common/ptid.h
index e5cc726..61a8d5f 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::is_pid. */
-
-extern int ptid_is_pid (const ptid_t &ptid);
-
/* See ptid_t::lwp_p. */
extern int ptid_lwp_p (const ptid_t &ptid);