diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-04-07 10:27:48 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-04-07 10:28:56 -0400 |
commit | 6670ec13726c3afca789672f6235378a5e1f7d71 (patch) | |
tree | 8a9efab479956e0e97d69e1b7b17d74abd357681 /gdb/unittests | |
parent | 49f4617bf4b86a0b057f3477d57ffbf7c998b229 (diff) | |
download | gdb-6670ec13726c3afca789672f6235378a5e1f7d71.zip gdb-6670ec13726c3afca789672f6235378a5e1f7d71.tar.gz gdb-6670ec13726c3afca789672f6235378a5e1f7d71.tar.bz2 |
ptid-selftests: Fix erroneous assert messages
gdb/ChangeLog:
* unittests/ptid-selftests.c: Fix erroneous assert messages.
Diffstat (limited to 'gdb/unittests')
-rw-r--r-- | gdb/unittests/ptid-selftests.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/unittests/ptid-selftests.c b/gdb/unittests/ptid-selftests.c index 5fc2ca6..a42c2ef 100644 --- a/gdb/unittests/ptid-selftests.c +++ b/gdb/unittests/ptid-selftests.c @@ -129,21 +129,21 @@ static_assert (!ptid_t (2, 2, 2).matches (pid), "other both doesn't match pid"); /* Verify matches against exact matches. */ -static_assert (!pid.matches (lwp), "pid matches lwp"); +static_assert (!pid.matches (lwp), "pid doesn't match lwp"); static_assert (lwp.matches (lwp), "lwp matches lwp"); -static_assert (!tid.matches (lwp), "tid matches lwp"); -static_assert (!both.matches (lwp), "both matches lwp"); +static_assert (!tid.matches (lwp), "tid doesn't match lwp"); +static_assert (!both.matches (lwp), "both doesn't match lwp"); static_assert (!ptid_t (2, 2, 0).matches (lwp), "other lwp doesn't match lwp"); -static_assert (!pid.matches (tid), "pid matches tid"); -static_assert (!lwp.matches (tid), "lwp matches tid"); +static_assert (!pid.matches (tid), "pid doesn't match tid"); +static_assert (!lwp.matches (tid), "lwp doesn't match tid"); static_assert (tid.matches (tid), "tid matches tid"); -static_assert (!both.matches (tid), "both matches tid"); +static_assert (!both.matches (tid), "both doesn't match tid"); static_assert (!ptid_t (2, 0, 2).matches (tid), "other tid doesn't match tid"); -static_assert (!pid.matches (both), "pid matches both"); -static_assert (!lwp.matches (both), "lwp matches both"); -static_assert (!tid.matches (both), "tid matches both"); +static_assert (!pid.matches (both), "pid doesn't match both"); +static_assert (!lwp.matches (both), "lwp doesn't match both"); +static_assert (!tid.matches (both), "tid doesn't match both"); static_assert (both.matches (both), "both matches both"); static_assert (!ptid_t (2, 2, 2).matches (both), "other both doesn't match both"); |