This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] Fix PR12526: -location watchpoints for bitfield arguments
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Patrick Palka <patrick at parcs dot ath dot cx>
- Cc: Pedro Alves <palves at redhat dot com>, gdb-patches at sourceware dot org
- Date: Sun, 07 Sep 2014 20:10:38 -0400
- Subject: Re: [PATCH v2] Fix PR12526: -location watchpoints for bitfield arguments
- Authentication-results: sourceware.org; auth=none
- References: <1408563606-24314-1-git-send-email-patrick at parcs dot ath dot cx> <1408591949-29689-1-git-send-email-patrick at parcs dot ath dot cx> <54087F68 dot 8020606 at redhat dot com> <CA+C-WL-QUumZpS57yf+s-DwYyCTph4iO4SqrJiTuk4WGtvq-3w at mail dot gmail dot com> <87zjebyoey dot fsf at redhat dot com>
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/