From: Pedro Alves Date: Sun, 14 Mar 2010 17:35:21 +0000 (+0000) Subject: * infrun.c (ptid_match): Don't assert that PTID is not a pid ptid. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f25d77d673f04bd07e6012f0646647b6317f3b7;p=binutils-gdb.git * infrun.c (ptid_match): Don't assert that PTID is not a pid ptid. --- 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;