[PATCH v5 8/9] sim/erc32: Add data watchpoint support.
Mike Frysinger
vapier@gentoo.org
Sun Apr 19 07:04:00 GMT 2015
On 03 Apr 2015 22:35, Jiri Gaisler wrote:
> * exec.c (wpmask): New function to calculate address mask.
> (dispatch_instruction): send WPT_TRAP when breakpoint is hit. Check on
capitialize sentences -- "Send" here. comes up multiple times.
> +static unsigned char
> +wpmask (uint32 op3)
> +{
> + switch (op3 & 3) {
> + case 0: return 3; /* word */
> + case 1: return 0; /* byte */
> + case 2: return 1; /* half-word */
> + case 3: return 7; /* double word */
> + }
> +}
indentation needs fixing
> +int
> +check_wpw(struct pstate *sregs, int32 address, unsigned char mask)
space before the (
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20150419/4467dfac/attachment.sig>
More information about the Gdb-patches
mailing list