projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18fa8f9
)
* infrun.c (ptid_match): Don't assert that PTID is not a pid ptid.
author
Pedro Alves
<palves@redhat.com>
Sun, 14 Mar 2010 17:35:21 +0000
(17:35 +0000)
committer
Pedro Alves
<palves@redhat.com>
Sun, 14 Mar 2010 17:35:21 +0000
(17:35 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/infrun.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index d9e6fd89ea6b736ca74e6fff1fcc72736730438d..e75d65bf11006f07647b59d53a9319b2ff007202 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-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:
diff --git
a/gdb/infrun.c
b/gdb/infrun.c
index 83cfe3c124be228d6df9f59858fa61ef469dbd43..4bfe5465d249c2f2526e38d7830cd04d5ea1cfcb 100644
(file)
--- 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;