riscv-openocd/src
Erhan Kurubas 535de48ca6 target/xtensa: remove redundant call for `TARGET_EVENT_HALTED`
`xtensa_do_step` is invoked from `xtensa_prepare_resume` to silently
step over BP/WP before resuming.
For example; in the case of WPs (DEBUGCAUSE_DB), in the current
implementation `xtensa_do_step` will generate one more
`TARGET_EVENT_HALTED` after the original one caused by WP itself.

This patch moves the halted event cb call after
the step is done successfully.

Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com>
Change-Id: I9048e14fb316dc124847a42cfaefb1f76b5ce53e
Reviewed-on: https://review.openocd.org/c/openocd/+/7274
Tested-by: jenkins
Reviewed-by: Ian Thompson <ianst@cadence.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2022-10-21 18:16:23 +00:00
..
flash flash/nor/at91samd: Use 32-bit register writes for ST-Link compat 2022-10-08 07:52:28 +00:00
helper openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
jtag jtag/drivers: bcm2835gpio: implement memory barriers when bitbashing 2022-10-21 18:05:41 +00:00
pld fix leaky file-handle in virtex2 driver 2022-10-08 07:54:49 +00:00
rtos Remove duplicate of a counter in hwthread_update_threads 2022-10-08 07:52:12 +00:00
rtt openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
server openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
svf openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
target target/xtensa: remove redundant call for `TARGET_EVENT_HALTED` 2022-10-21 18:16:23 +00:00
transport openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
xsvf openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
Makefile.am openocd: build: add SPDX tag 2022-07-23 13:06:38 +00:00
hello.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
hello.h openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00
main.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
openocd.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
openocd.h openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00