cortexa: Fix the new Watchpoint support causing a no-build

This commit is contained in:
dragonmux 2022-05-31 22:03:21 -04:00
parent 0b7dd00c77
commit 2914be1a67
No known key found for this signature in database
GPG Key ID: 64861EA89B35507A
1 changed files with 1 additions and 1 deletions

View File

@ -822,7 +822,7 @@ static int cortexa_breakwatch_set(target *t, struct breakwatch *bw)
apb_write(t, DBGWCR(i), wcr); apb_write(t, DBGWCR(i), wcr);
apb_write(t, DBGWVR(i), bw->addr & ~3); apb_write(t, DBGWVR(i), bw->addr & ~3);
DEBUG("Watchpoint set WCR = 0x%08x, WVR = %08x\n", DEBUG_INFO("Watchpoint set WCR = 0x%08x, WVR = %08x\n",
apb_read(t, DBGWCR(i)), apb_read(t, DBGWCR(i)),
apb_read(t, DBGWVR(i))); apb_read(t, DBGWVR(i)));
} }