diff options
author | Parshintsev Anatoly <anatoly.parshintsev@syntacore.com> | 2024-04-22 21:33:33 +0300 |
---|---|---|
committer | Parshintsev Anatoly <anatoly.parshintsev@syntacore.com> | 2024-05-28 21:46:19 +0300 |
commit | 2c00a087daddbc478f2b9d691bc9706a60f0681b (patch) | |
tree | 218809d1f8232899f7295511d5dac95932fd9c95 /git-hooks | |
parent | 38ef9cc99b6e1e7ed0a2d713a9c3991ce92013bb (diff) | |
download | riscv-openocd-2c00a087daddbc478f2b9d691bc9706a60f0681b.zip riscv-openocd-2c00a087daddbc478f2b9d691bc9706a60f0681b.tar.gz riscv-openocd-2c00a087daddbc478f2b9d691bc9706a60f0681b.tar.bz2 |
target/riscv: fix halt reason for targets that do not support hit bit on triggers
Before this patch the following behavior is observed on targets that do
not support hit bit:
```
bp 0x80000004 4 hw
resume 0x80000000
riscv.cpu halted due to watchpoint
```
This happens because the current implementation relies on the presence
of hit bit way too much. While working on this patch few defects in
hit bit-based trigger detection were discovered, added appropriate
TODOs.
Diffstat (limited to 'git-hooks')
0 files changed, 0 insertions, 0 deletions