riscv-openocd/src/helper
Antonio Borneo d5c177cd3d server: gdb: export gdb_actual_connections through a function
The internal variable 'gdb_actual_connections' is used by log and
by semihosting to determine if there are active GDB connections.

Keep the variable local in server's code and only export its value
through a dedicated function.

This solves the issue detected by 'parse' of the variable defined
as global but not declared in any include file.

Change-Id: I6e14f4cb1097787404094636f8a2a291340222dd
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7673
Tested-by: jenkins
2023-05-18 10:14:56 +00:00
..
Makefile.am helper: add compiler.h to handle compiler specific workarounds 2023-03-18 21:57:27 +00:00
align.h helper: add align.h 2021-08-14 13:29:43 +01:00
bin2char.sh openocd: src: replace SPDX to remaining files 2022-07-23 13:59:25 +00:00
binarybuffer.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
binarybuffer.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
bits.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
command.c helper: with pointers, use NULL instead of 0 2023-05-05 22:09:09 +00:00
command.h helper: command: drop last LF ('\n') from sequence of command_print() 2023-02-26 10:00:52 +00:00
compiler.h helper/compiler fix build with gcc on MacOS 2023-04-07 22:56:27 +00:00
configuration.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
configuration.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
crc32.c helper: Add generic little endian CRC32 function 2023-01-21 22:57:33 +00:00
crc32.h helper: Add generic little endian CRC32 function 2023-01-21 22:57:33 +00:00
fileio.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
fileio.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
jep106.c helper: with pointers, use NULL instead of 0 2023-05-05 22:09:09 +00:00
jep106.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
jep106.inc jep106: update to revision JEP106BF.01 Oct 2022 2022-11-15 21:34:22 +00:00
jim-nvp.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
jim-nvp.h helper/jim-nvp: avoid camelcase error by deprecated API 2022-07-23 13:59:49 +00:00
list.h helper/list: re-align with Linux kernel 6.3-rc1 2023-04-07 21:47:34 +00:00
log.c server: gdb: export gdb_actual_connections through a function 2023-05-18 10:14:56 +00:00
log.h log: remove unused set_log_output() 2022-09-13 22:10:19 +00:00
nvp.c helper: nvp: add openocd nvp files 2023-02-03 22:47:40 +00:00
nvp.h helper: add compiler.h to handle compiler specific workarounds 2023-03-18 21:57:27 +00:00
options.c helper: with pointers, use NULL instead of 0 2023-05-05 22:09:09 +00:00
replacements.c helper: replacements: rework including replacements.h 2023-05-18 10:11:06 +00:00
replacements.h helper: replacements: rework including replacements.h 2023-05-18 10:11:06 +00:00
startup.tcl openocd: build: add SPDX tag 2022-07-23 13:06:38 +00:00
system.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
time_support.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
time_support.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
time_support_common.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
types.h helper: types: rework h_u32_to_le() and similar for sparse 2023-05-18 10:12:16 +00:00
update_jep106.pl openocd: src: replace SPDX to remaining files 2022-07-23 13:59:25 +00:00
util.c helper: util: include util.h 2023-05-05 22:08:56 +00:00
util.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00