From 5f25d77d673f04bd07e6012f0646647b6317f3b7 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Sun, 14 Mar 2010 17:35:21 +0000 Subject: [PATCH] * infrun.c (ptid_match): Don't assert that PTID is not a pid ptid. --- gdb/ChangeLog | 4 ++++ gdb/infrun.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d9e6fd89ea6..e75d65bf110 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-03-14 Pedro Alves + + * infrun.c (ptid_match): Don't assert that PTID is not a pid ptid. + 2010-03-12 Tom Tromey PR c++/9708: diff --git a/gdb/infrun.c b/gdb/infrun.c index 83cfe3c124b..4bfe5465d24 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -6325,8 +6325,7 @@ ptid_match (ptid_t ptid, ptid_t filter) /* Since both parameters have the same type, prevent easy mistakes from happening. */ gdb_assert (!ptid_equal (ptid, minus_one_ptid) - && !ptid_equal (ptid, null_ptid) - && !ptid_is_pid (ptid)); + && !ptid_equal (ptid, null_ptid)); if (ptid_equal (filter, minus_one_ptid)) return 1; -- 2.30.2