diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2025-03-23 15:27:37 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2025-04-05 06:23:53 +0000 |
commit | 160f7b3e5d9aa78dbbb6eff63681621aed712ab6 (patch) | |
tree | fc2435fa689100e6a669936df3c9e400cab3c23b /src/rtos/rtos_nuttx_stackings.c | |
parent | c023534e7b6f61dddf91fc6ca4644d4071bb73dc (diff) | |
download | riscv-openocd-160f7b3e5d9aa78dbbb6eff63681621aed712ab6.zip riscv-openocd-160f7b3e5d9aa78dbbb6eff63681621aed712ab6.tar.gz riscv-openocd-160f7b3e5d9aa78dbbb6eff63681621aed712ab6.tar.bz2 |
target: remove events that are set to empty string
Current code allows replacing the body of an existing event, but
it doesn't provides a way to remove it.
Replacing the event with an empty string makes the event still
present and visible through
$target_name eventlist
The presence of empty events makes more complex checking for the
event not set or set to empty.
Remove the event when set to empty string.
While there, add 'Jim_Length' to the list of allowed CamelCase
symbols, avoiding the associated checkpatch error.
Change-Id: I1ec2e1a71d298a0eba0b6863902645bcc6c4cb09
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8814
Tested-by: jenkins
Diffstat (limited to 'src/rtos/rtos_nuttx_stackings.c')
0 files changed, 0 insertions, 0 deletions