diff options
author | Andreas Färber <afaerber@suse.de> | 2016-08-14 18:48:38 +0200 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2016-10-04 11:49:59 +0100 |
commit | 5fd5699859db4be2dadef69c85adbb0acda36e84 (patch) | |
tree | 58dfad93ba1f7adf6f2cf91f17ee07144dc1d26e /src/target/nds32_v2.c | |
parent | 7919694832ec989b71b93a9a9563a05c9e503d13 (diff) | |
download | riscv-openocd-5fd5699859db4be2dadef69c85adbb0acda36e84.zip riscv-openocd-5fd5699859db4be2dadef69c85adbb0acda36e84.tar.gz riscv-openocd-5fd5699859db4be2dadef69c85adbb0acda36e84.tar.bz2 |
nds32: Fix typo in debug log
wathcpoint -> watchpoint
Change-Id: If84cfb5097ed17ef97491667c622ba7d870ac9c2
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3673
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/target/nds32_v2.c')
-rw-r--r-- | src/target/nds32_v2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/nds32_v2.c b/src/target/nds32_v2.c index da8bbbc..4497551 100644 --- a/src/target/nds32_v2.c +++ b/src/target/nds32_v2.c @@ -184,7 +184,7 @@ static int nds32_v2_activate_hardware_watchpoint(struct target *target) /* set value */ aice_write_debug_reg(aice, NDS_EDM_SR_BPV0 + wp_num, 0); - LOG_DEBUG("Add hardware wathcpoint %" PRId32 " at %08" PRIx32 " mask %08" PRIx32, wp_num, + LOG_DEBUG("Add hardware watchpoint %" PRId32 " at %08" PRIx32 " mask %08" PRIx32, wp_num, wp->address, wp->mask); } @@ -204,7 +204,7 @@ static int nds32_v2_deactivate_hardware_watchpoint(struct target *target) /* disable watchpoint */ aice_write_debug_reg(aice, NDS_EDM_SR_BPC0 + wp_num, 0x0); - LOG_DEBUG("Remove hardware wathcpoint %" PRId32 " at %08" PRIx32 " mask %08" PRIx32, + LOG_DEBUG("Remove hardware watchpoint %" PRId32 " at %08" PRIx32 " mask %08" PRIx32, wp_num, wp->address, wp->mask); } |