* infrun.c (ptid_match): Don't assert that PTID is not a pid ptid.

This commit is contained in:
Pedro Alves 2010-03-14 17:35:21 +00:00
parent 18fa8f9c23
commit 5f25d77d67
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-03-14 Pedro Alves <pedro@codesourcery.com>
* infrun.c (ptid_match): Don't assert that PTID is not a pid ptid.
2010-03-12 Tom Tromey <tromey@redhat.com>
PR c++/9708:

View File

@ -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;