From: OpenOCD-Gerrit <ope...@us...> - 2021-11-20 14:40:30
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 6441fe8d9d29d7720e1272e1a5b166535116d172 (commit) from f8bd2566a936c7909f2b602bba3c83cc833afaea (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 6441fe8d9d29d7720e1272e1a5b166535116d172 Author: Tim Newsome <ti...@si...> Date: Tue Oct 5 10:03:19 2021 -0700 riscv: Clear type 6 triggers on connecting. I missed this when I first add mcontrol6 support. https://github.com/riscv/riscv-openocd/pull/648 Change-Id: I1a2706c7ea3a6757ed5083091cd2c764a8b0267c Signed-off-by: Tim Newsome <ti...@si...> Reviewed-on: https://review.openocd.org/c/openocd/+/6684 Tested-by: jenkins Reviewed-by: Jan Matyas <ma...@co...> Reviewed-by: Antonio Borneo <bor...@gm...> diff --git a/src/target/riscv/riscv.c b/src/target/riscv/riscv.c index 084939e11..407b7e279 100644 --- a/src/target/riscv/riscv.c +++ b/src/target/riscv/riscv.c @@ -3569,6 +3569,10 @@ int riscv_enumerate_triggers(struct target *target) if (tdata1 & MCONTROL_DMODE(riscv_xlen(target))) riscv_set_register(target, GDB_REGNO_TDATA1, 0); break; + case 6: + if (tdata1 & MCONTROL_DMODE(riscv_xlen(target))) + riscv_set_register(target, GDB_REGNO_TDATA1, 0); + break; } } ----------------------------------------------------------------------- Summary of changes: src/target/riscv/riscv.c | 4 ++++ 1 file changed, 4 insertions(+) hooks/post-receive -- Main OpenOCD repository |