riscv-openocd/src
wangyanwen 7259995361 target/riscv: fix bug in riscv_openocd_poll() function
This code forced all harts to halt when they reported a mixture of
halted and non-halted status. This breaks long-running algorithms run
on a single core under SMP, because the first poll will force the core
executing the algorithm to halt.

Fix by adding an exception when all running cores are running under
debugger control (target->status == 4). Do not force harts to halt in
this case.

Change-Id: I940172926ed9b80b95891d8aecbd10897e148585

Signed-off-by: wangyanwen <wangyanwen@nucleisys.com>
2025-01-16 17:20:18 +08:00
..
flash src/flash/nor: fix custom flash driver when bank->size is 0 2025-01-16 17:20:18 +08:00
helper src/jtag: add ftdi/libusb driver support for windows 2025-01-16 17:13:08 +08:00
jtag jtag/drivers: add nuclei 2-wire nscan1_mode support in fdti 2025-01-16 17:13:20 +08:00
pld pld: make get_pld_device_by_num() static 2024-11-23 13:46:59 +00:00
rtos src/target/riscv: add nuclei group commands for nuclei targets 2025-01-16 17:13:21 +08:00
rtt rtt: drop unused function rtt_started() 2024-11-23 13:46:35 +00:00
server Revert "server/gdb_server.c: support unavailable registers" 2025-01-16 17:20:18 +08:00
svf openocd: convert 'unsigned' to 'unsigned int' 2024-10-05 15:46:25 +00:00
target target/riscv: fix bug in riscv_openocd_poll() function 2025-01-16 17:20:18 +08:00
transport openocd: convert 'unsigned' to 'unsigned int' 2024-10-05 15:46:25 +00:00
xsvf openocd: convert 'unsigned' to 'unsigned int' 2024-10-05 15:46:25 +00:00
Makefile.am configure: Use pkg-config for jimtcl 2024-08-02 15:59:07 +00:00
hello.c hello: include hello.h 2023-05-18 10:13:41 +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 target/riscv: add nuclei customized init resethalt command 2025-01-16 17:13:20 +08:00
openocd.h openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00