|
From: openocd-gerrit <ope...@us...> - 2025-11-19 17:57:34
|
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 3e7a7092d47ceca874166839d6e88439c911f452 (commit)
from 5d8a142703e9c6871e5fe6ab3bdf348561d215a5 (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 3e7a7092d47ceca874166839d6e88439c911f452
Author: Tomas Vanek <va...@fb...>
Date: Sun Nov 2 07:52:02 2025 +0100
target/arm_dpm: report vector catch as breakpoint
Commit 4afa32ece148 ("aarch64: unify armv7-a and armv8
debug entry decoding")
probably unintentionally removed DSCR_ENTRY_VECT_CATCH from
reported debug entry reasons. Note the discrepancy between
'case DSCR_ENTRY_BKPT_INSTR:' and its comment.
Hitting vector catch was reported as DBG_REASON_UNDEFINED.
DBG_REASON_UNDEFINED disturbed hwthread/gdb cooperation and
gdb reported the wrong thread as stopped by SIGTRAP.
Revert to the original functionality and report vector
catch as a breakpoint.
Change-Id: I12e938182cff8f633decba340000cfbb7b112ae3
Signed-off-by: Tomas Vanek <va...@fb...>
Reviewed-on: https://review.openocd.org/c/openocd/+/9209
Tested-by: jenkins
Reviewed-by: Antonio Borneo <bor...@gm...>
diff --git a/src/target/arm_dpm.c b/src/target/arm_dpm.c
index 26e32591a..63c41c583 100644
--- a/src/target/arm_dpm.c
+++ b/src/target/arm_dpm.c
@@ -1064,7 +1064,8 @@ void arm_dpm_report_dscr(struct arm_dpm *dpm, uint32_t dscr)
target->debug_reason = DBG_REASON_DBGRQ;
break;
case DSCR_ENTRY_BREAKPOINT: /* HW breakpoint */
- case DSCR_ENTRY_BKPT_INSTR: /* vector catch */
+ case DSCR_ENTRY_BKPT_INSTR: /* SW BKPT */
+ case DSCR_ENTRY_VECT_CATCH: /* vector catch */
target->debug_reason = DBG_REASON_BREAKPOINT;
break;
case DSCR_ENTRY_IMPRECISE_WATCHPT: /* asynch watchpoint */
-----------------------------------------------------------------------
Summary of changes:
src/target/arm_dpm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
Main OpenOCD repository
|