[PATCH v2] Fix PR12526: -location watchpoints for bitfield arguments

Sergio Durigan Junior sergiodj@redhat.com
Mon Sep 8 00:10:00 GMT 2014


On Sunday, September 07 2014, I wrote:

>> +    gdb_test "print $expr" "\\$\\d+ = $new\\s"
>
>   gdb_test "print $expr" "\\$\\d+ = $new\\s" \
>       "check if expr == $new"

I forgot to mention that this is not enough to make the messages unique,
so I added a "(old val = $old, new val = $new)" after the proposed
message.

-- 
Sergio
GPG key ID: 0x65FC5E36
Please send encrypted e-mail if possible
http://sergiodj.net/



More information about the Gdb-patches mailing list