diff options
author | Pedro Alves <palves@redhat.com> | 2010-03-14 17:35:21 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-03-14 17:35:21 +0000 |
commit | 5f25d77d673f04bd07e6012f0646647b6317f3b7 (patch) | |
tree | e037c61ca878ab05c8a2c62dbba09a4453a26f8b /gdb/infrun.c | |
parent | 18fa8f9c2329714359f2289f9739da5b5a06d020 (diff) | |
download | gdb-5f25d77d673f04bd07e6012f0646647b6317f3b7.zip gdb-5f25d77d673f04bd07e6012f0646647b6317f3b7.tar.gz gdb-5f25d77d673f04bd07e6012f0646647b6317f3b7.tar.bz2 |
* infrun.c (ptid_match): Don't assert that PTID is not a pid ptid.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 83cfe3c..4bfe546 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; |