riscv-openocd/src
Marek Vrbka 71180e6753 gdb_server: refactor and unify function gdb_get_char_inner
The old implementation of gdb socket error handling
in the gdb_get_char_inner() differs between Windows and *nix
platforms. This patch simplifies it by using an existing
function log_socket_error() which handles most of the platform
specific things. It also provides better error messages.

Change-Id: Iec871c4965b116dc7cfb03c3565bab66c8b41958
Signed-off-by: Marek Vrbka <marek.vrbka@codasip.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7724
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2023-06-10 17:10:07 +00:00
..
flash flash/nor: add support for NXP QN908x 2023-06-10 16:58:35 +00:00
helper server: gdb: export gdb_actual_connections through a function 2023-05-18 10:14:56 +00:00
jtag jtag/vdebug: using tap_state 2023-06-02 21:04:17 +00:00
pld pld/virtex2: check error propagated by virtex2_read_stat() 2023-05-18 10:18:42 +00:00
rtos rtos: uCOS-III: split struct ucos_iii_params 2023-05-18 10:17:18 +00:00
rtt rtt: rewrite command 'rtt channellist' as COMMAND_HANDLER 2023-03-25 18:11:14 +00:00
server gdb_server: refactor and unify function gdb_get_char_inner 2023-06-10 17:10:07 +00:00
svf svf: make command 'svf' syntax consistent 2023-03-25 18:09:06 +00:00
target gdb_server: add debug signal reason prints 2023-06-10 17:00:26 +00:00
transport transport: rewrite command 'transport select' as COMMAND_HANDLER 2023-03-25 18:09:47 +00:00
xsvf openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
Makefile.am openocd: build: add SPDX tag 2022-07-23 13:06:38 +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 openocd: rewrite command 'version' as COMMAND_HANDLER 2023-03-25 18:10:54 +00:00
openocd.h openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00