riscv-openocd/src/target
Tommy Murphy 16fa57da41 Fix riscv013_invalidate_cached_progbuf() off by one error
See https://github.com/riscv-collab/riscv-openocd/issues/1139
riscv013_invalidate_cached_progbuf() was failing to zeroize the final
buffer array element. Use memset() instead of a manual loop to zeroize
it in order to address this and simplify the code.
2024-10-03 09:37:28 +01:00
..
espressif target/espressif: add profiling function for ESP32-S3 2024-09-15 09:13:05 +00:00
openrisc target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
riscv Fix riscv013_invalidate_cached_progbuf() off by one error 2024-10-03 09:37:28 +01:00
xtensa target/espressif: add profiling function for ESP32-S3 2024-09-15 09:13:05 +00:00
Makefile.am mips32: add per-cpu quirks feature 2023-08-26 11:44:50 +00:00
a64_disassembler.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
a64_disassembler.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
aarch64.c target: aarch64: fix regs invalidation when -defer-examine 2024-05-04 08:34:37 +00:00
aarch64.h aarch64: Use 64-bit reads/writes to access SCTLR_EL1 2023-11-18 11:21:38 +00:00
adi_v5_dapdirect.c jtag: rewrite jim_jtag_configure() as COMMAND_HANDLER 2024-01-13 14:51:22 +00:00
adi_v5_jtag.c target/arm_adi_v5: fix DP SELECT logic 2023-12-29 14:33:55 +00:00
adi_v5_swd.c target/adi_v5_swd: move setting of do_reconnect one level up 2024-03-24 13:42:24 +00:00
algorithm.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
algorithm.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arc.c target/arc: skip over breakpoints in arc_resume() 2024-01-29 13:36:27 +03:00
arc.h target: arc: rewrite command 'arc add-reg' as COMMAND_HANDLER 2023-02-03 22:48:48 +00:00
arc_cmd.c target: arc: rewrite command 'arc add-reg' as COMMAND_HANDLER 2023-02-03 22:48:48 +00:00
arc_cmd.h openocd: src: fix incorrect SPDX tags 2022-07-23 13:16:09 +00:00
arc_jtag.c fix GCC's `-Wcalloc-transposed-args` warning 2024-06-15 14:11:16 +00:00
arc_jtag.h openocd: src: fix incorrect SPDX tags 2022-07-23 13:16:09 +00:00
arc_mem.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
arc_mem.h openocd: src: fix incorrect SPDX tags 2022-07-23 13:16:09 +00:00
arm.h target: cortex_m: replace 'implementor' with 'implementer' 2024-07-13 22:19:55 +00:00
arm7_9_common.c breakpoints: use 64-bit type for watchpoint mask and value 2023-08-08 06:11:01 +00:00
arm7_9_common.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
arm7tdmi.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
arm7tdmi.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm9tdmi.c target: with pointers, use NULL instead of 0 2023-05-05 22:14:29 +00:00
arm9tdmi.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm11.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
arm11.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm11_dbgtap.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
arm11_dbgtap.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm720t.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
arm720t.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
arm920t.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
arm920t.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
arm926ejs.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
arm926ejs.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
arm946e.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
arm946e.h target: don't export local symbols 2022-09-13 22:13:58 +00:00
arm966e.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
arm966e.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
arm_adi_v5.c arm_adi_v5: Also clear sticky overrun bit on init 2024-08-25 12:39:25 +00:00
arm_adi_v5.h target/arm_adi_v5: introduce adiv5_jim_configure_ext() 2024-03-16 14:35:24 +00:00
arm_coresight.h arm_adi_v5: replace dap_lookup_cs_component() 2022-05-14 08:55:52 +00:00
arm_cti.c arm_cti: Add CTIDEVCTL to register list 2024-08-25 12:40:24 +00:00
arm_cti.h arm_cti: Add CTIDEVCTL to register list 2024-08-25 12:40:24 +00:00
arm_dap.c target/arm_adi_v5,arm_dap: introduce pre_connect_init() dap operation 2023-12-29 14:34:50 +00:00
arm_disassembler.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
arm_disassembler.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm_dpm.c arm_opcode: Add support for ARM MCRR/MRRC 2023-10-14 11:55:42 +00:00
arm_dpm.h arm_opcode: Add support for ARM MCRR/MRRC 2023-10-14 11:55:42 +00:00
arm_jtag.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
arm_jtag.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm_opcodes.h arm_opcode: Add support for ARM MCRR/MRRC 2023-10-14 11:55:42 +00:00
arm_semihosting.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
arm_semihosting.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm_simulator.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
arm_simulator.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
arm_tpiu_swo.c target/arm_tpiu_swo: Fix memory leak on error 2024-06-15 14:12:06 +00:00
arm_tpiu_swo.h armv7m_trace: get rid of the old tpiu code 2021-03-10 21:34:04 +00:00
armv4_5.c target: get_gdb_arch() accepts target via const pointer 2024-01-28 14:18:54 +00:00
armv4_5.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
armv4_5_cache.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
armv4_5_cache.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
armv4_5_mmu.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
armv4_5_mmu.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
armv7a.c cortex_a: drop the command 'cache auto' 2024-05-11 11:54:40 +00:00
armv7a.h cortex_a: drop the command 'cache auto' 2024-05-11 11:54:40 +00:00
armv7a_cache.c cortex_a: drop the command 'cache auto' 2024-05-11 11:54:40 +00:00
armv7a_cache.h cortex_a: drop the command 'cache auto' 2024-05-11 11:54:40 +00:00
armv7a_cache_l2x.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
armv7a_cache_l2x.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
armv7a_mmu.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
armv7a_mmu.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
armv7m.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
armv7m.h cortex_m: add detection of MVE feature for Armv8.1-M cores 2024-01-29 13:36:27 +03:00
armv7m_trace.c itm: fix default initialization 2024-06-23 09:30:43 +00:00
armv7m_trace.h itm: fix default initialization 2024-06-23 09:30:43 +00:00
armv8.c target: aarch64: access reg SPSR_EL1 only in EL1, EL2 and EL3 2024-06-23 09:29:43 +00:00
armv8.h aarch64: Add support for ARMv8-R 2023-04-30 14:46:25 +00:00
armv8_cache.c target: clarify usage of `coreid` 2023-12-01 22:23:13 +00:00
armv8_cache.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
armv8_dpm.c target: armv8_dpm: silence error on register R/W 2024-06-23 09:28:21 +00:00
armv8_dpm.h openocd: src: replace the incomplete GPL-2.0-or-later license tag 2022-07-23 13:15:24 +00:00
armv8_opcodes.c target/aarch64: add AArch64 mdd and mwd support 2023-09-17 12:07:17 +00:00
armv8_opcodes.h portability fix: Switch binary literals to hex 2024-02-15 09:00:50 +00:00
avr32_ap7k.c target: fix messages and return values of failed op because not halted 2023-07-29 05:17:44 +00:00
avr32_ap7k.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
avr32_jtag.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
avr32_jtag.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
avr32_mem.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
avr32_mem.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
avr32_regs.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
avr32_regs.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
avrt.c target/avrt: Remove unused parameter 'rti' 2024-08-02 16:04:24 +00:00
avrt.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
breakpoints.c target/breakpoints: fix types in `watchpoint_add_internal()` 2024-09-16 18:41:08 +03:00
breakpoints.h Merge up to fd7b66c5eb from upstream 2024-09-16 18:38:05 +03:00
cortex_a.c cortex_a: drop cortex_a_dap_write_memap_register_u32() 2024-05-11 11:54:51 +00:00
cortex_a.h target: move parent target structs just after common_magic 2022-08-14 12:10:14 +00:00
cortex_m.c cortex_m: fix scan-build false positive 2024-07-28 13:26:05 +00:00
cortex_m.h target/cortex_m: add DSCSR_CDSKEY bit definition 2024-08-25 12:44:16 +00:00
dsp563xx.c Merge commit '16e9b9c44fa62ea6eec99d1fb7bc43a8f1cc2f7e' into from_upstream 2023-12-22 09:08:06 -08:00
dsp563xx.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
dsp563xx_once.c target: with pointers, use NULL instead of 0 2023-05-05 22:14:29 +00:00
dsp563xx_once.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
dsp5680xx.c dsp5680xx: fix clang error core.UndefinedBinaryOperatorResult 2022-11-11 20:11:22 +00:00
dsp5680xx.h target: don't export local symbols 2022-09-13 22:13:58 +00:00
embeddedice.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
embeddedice.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
esirisc.c server/gdb: Restructure commands 2024-07-13 22:28:12 +00:00
esirisc.h target: get_gdb_arch() accepts target via const pointer 2024-01-28 14:18:54 +00:00
esirisc_jtag.c jtag/commands: Use 'unsigned int' data type 2024-08-02 16:03:28 +00:00
esirisc_jtag.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
esirisc_regs.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
esirisc_trace.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
esirisc_trace.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
etb.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
etb.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
etm.c target: use boolean values for 'valid' and 'dirty' flags 2023-11-18 11:16:06 +00:00
etm.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
etm_dummy.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
etm_dummy.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
fa526.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
feroceon.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
hla_target.c Remove '_s' suffix from structs 2024-06-23 09:33:33 +00:00
image.c Revert "break from long loops on shutdown request" 2024-01-26 12:22:11 +03:00
image.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
lakemont.c jtag: Use 'unsigned int' for 'ir_length' 2024-08-02 16:02:25 +00:00
lakemont.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
ls1_sap.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
mem_ap.c mem_ap: fix GDB connections 2024-03-09 11:03:49 +00:00
mips32.c target/mips32: fix clang sbuild check fail 2024-04-07 19:36:49 +00:00
mips32.h target/mips32: add fpu access support 2024-03-16 14:47:16 +00:00
mips32_dmaacc.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
mips32_dmaacc.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
mips32_pracc.c target/mips32: add fpu access support 2024-03-16 14:47:16 +00:00
mips32_pracc.h target/mips32: add fpu access support 2024-03-16 14:47:16 +00:00
mips64.c target: use boolean values for 'valid' and 'dirty' flags 2023-11-18 11:16:06 +00:00
mips64.h target: use unsigned int for timeout_ms 2023-05-27 06:41:17 +00:00
mips64_pracc.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
mips64_pracc.h target: use 'ULL' suffix for long constants 2023-05-05 22:10:18 +00:00
mips_cpu.h LICENSES: drop SPDX tag 'GPL-2.0' and use 'GPL-2.0-only' 2024-01-29 13:36:27 +03:00
mips_ejtag.c target/mips32: add mips ejtag command 2024-01-06 13:51:44 +00:00
mips_ejtag.h target/mips32: optimize pracc access 2024-01-06 13:52:02 +00:00
mips_m4k.c target: clarify usage of `coreid` 2023-12-01 22:23:13 +00:00
mips_m4k.h target: don't export local symbols 2022-09-13 22:13:58 +00:00
mips_mips64.c target: use boolean values for 'valid' and 'dirty' flags 2023-11-18 11:16:06 +00:00
mips_mips64.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
quark_d20xx.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
quark_x10xx.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
register.c register: refactor register_cache_invalidate() 2023-08-03 20:24:16 +00:00
register.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
rtt.c target: rtt: include rtt.h 2023-05-05 22:14:11 +00:00
rtt.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
semihosting_common.c target/semihosting: Fix double free() 2024-05-26 09:55:45 +00:00
semihosting_common.h semihosting: improve semihosting opcode debug messages 2023-07-01 15:03:30 +00:00
smp.c smp: fix SIGSEGV for "smp off" during target examine 2024-05-04 08:35:27 +00:00
smp.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
startup.tcl cortex_a: drop the command 'cache auto' 2024-05-11 11:54:40 +00:00
stm8.c target: get_gdb_arch() accepts target via const pointer 2024-01-28 14:18:54 +00:00
stm8.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
target.c Merge up to fd7b66c5eb from upstream 2024-09-16 18:38:05 +03:00
target.h Merge up to ac63cd00d7 from upstream 2024-08-20 15:44:15 +03:00
target_request.c cortex_m: fix scan-build false positive 2024-07-28 13:26:05 +00:00
target_request.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
target_type.h target: get_gdb_arch() accepts target via const pointer 2024-01-28 14:18:54 +00:00
testee.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
trace.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
trace.h openocd: src/target: replace the GPL-2.0-or-later license tag 2022-07-23 13:58:51 +00:00
x86_32_common.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
x86_32_common.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00
xscale.c breakpoints: use 64-bit type for watchpoint mask and value 2023-08-08 06:11:01 +00:00
xscale.h target: consolidate existing target/algo common_magic 2022-08-14 12:02:38 +00:00