riscv-openocd/src
Jan Matyas ecb2ad4a8a RISC-V Semihosting 1 of 3: Remove dead code
Variable `target->semihosting` is always initialized
in risv_init_target() to a non-NULL value.

For that reason, checks like `if (target->semihosting)`
are redundant (dead code).

Remove them to not confuse code readers. Replace them by assertions.

Change-Id: I85ef52300e240cfcb0119db6169993bc4767de8f
Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
2025-01-07 08:39:34 +01:00
..
flash Merge up to fd62626dff from upstream 2024-11-12 17:25:33 +03:00
helper Merge up to 133dd9d669 from upstream 2024-12-18 12:41:19 +03:00
jtag Merge up to 133dd9d669 from upstream 2024-12-18 12:41:19 +03:00
pld pld: make get_pld_device_by_num() static 2024-11-23 13:46:59 +00:00
rtos Merge up to 133dd9d669 from upstream 2024-12-18 12:41:19 +03:00
rtt rtt: drop unused function rtt_started() 2024-11-23 13:46:35 +00:00
server Merge up to fd62626dff from upstream 2024-11-12 17:25:33 +03:00
svf openocd: convert 'unsigned' to 'unsigned int' 2024-10-05 15:46:25 +00:00
target RISC-V Semihosting 1 of 3: Remove dead code 2025-01-07 08:39:34 +01: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 autoconf: Add support for code coverage 2024-11-16 14:18:57 +00:00
openocd.h openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00