This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix PR12526: -location watchpoints for bitfield arguments
- From: Patrick Palka <patrick at parcs dot ath dot cx>
- To: gdb-patches at sourceware dot org
- Cc: Patrick Palka <patrick at parcs dot ath dot cx>
- Date: Wed, 20 Aug 2014 16:58:54 -0400
- Subject: Re: [PATCH] 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>
Oops, found a bug: the line
addr += bitsize / 8;
ought to be
addr += bitpos / 8;