Files
openocd/src/target
Marek Vrbka 56fd04832a semihosting: fix handling of errno
This patch fixes the handling of errno by setting the sys_errn
only if error has actually occurred during the semihosting call.
It also fixes few issues where error was not set in the first place.

Change-Id: I2fbe562f3ec5e6220b800de04cd33aa1f409c7a0
Signed-off-by: Marek Vrbka <marek.vrbka@codasip.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7730
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Jan Matyas <jan.matyas@codasip.com>
2023-07-01 17:58:52 +00:00
..
2023-05-27 06:43:59 +00:00
2022-09-13 22:13:58 +00:00
2023-05-27 06:41:17 +00:00
2023-04-30 14:46:25 +00:00
2022-09-13 22:13:58 +00:00
2023-05-06 13:34:32 +00:00
2022-09-13 22:13:58 +00:00
2023-05-05 22:14:11 +00:00
2023-05-27 06:41:17 +00:00