This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]