diff options
author | Marek Vrbka <marek.vrbka@codasip.com> | 2023-05-30 14:16:38 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2023-06-10 17:10:27 +0000 |
commit | 9f23a1d7c1e27c556ef9787b9d3f263f5c1ecf24 (patch) | |
tree | 9dbf35a410b486a9358042883e8f51e9d8c644c6 /tcl | |
parent | 71180e67537117f841ff5dd7c359e3678d861e2b (diff) | |
download | riscv-openocd-9f23a1d7c1e27c556ef9787b9d3f263f5c1ecf24.zip riscv-openocd-9f23a1d7c1e27c556ef9787b9d3f263f5c1ecf24.tar.gz riscv-openocd-9f23a1d7c1e27c556ef9787b9d3f263f5c1ecf24.tar.bz2 |
semihosting: fix non-zero value on Windows isatty()
On Windows, isatty() can return any non-zero value if it's an interactive
device. Which diverges from the ARM semihosting specification. This patch
introduces a fix to make the SYS_ISTTY operation conform to spec.
Change-Id: I9bc4f3cb82370812825d52419851910b3e3f35cc
Signed-off-by: Marek Vrbka <marek.vrbka@codasip.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7725
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
Reviewed-by: Jan Matyas <jan.matyas@codasip.com>
Diffstat (limited to 'tcl')
0 files changed, 0 insertions, 0 deletions