From fada2c001fcdd6b0629b64769752445b41116b83 Mon Sep 17 00:00:00 2001 From: Tarek BOCHKATI Date: Wed, 19 Oct 2022 14:26:28 +0100 Subject: [PATCH] doc: fix semihosting_redirect command documentation Change-Id: I78c82a21e4160851a5c0b58394ac7897479808ff Signed-off-by: Tarek BOCHKATI Reviewed-on: https://review.openocd.org/c/openocd/+/7278 Tested-by: jenkins Reviewed-by: Antonio Borneo --- doc/openocd.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/openocd.texi b/doc/openocd.texi index 6321bf7a6..0fd2322f2 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -9498,14 +9498,14 @@ requests by using a special SVC instruction that is trapped at the Supervisor Call vector by OpenOCD. @end deffn -@deffn {Command} {arm semihosting_redirect} (@option{disable} | @option{tcp} -[@option{debug}|@option{stdio}|@option{all}) +@deffn {Command} {arm semihosting_redirect} (@option{disable} | @option{tcp} [@option{debug}|@option{stdio}|@option{all}]) @cindex ARM semihosting Redirect semihosting messages to a specified TCP port. This command redirects debug (READC, WRITEC and WRITE0) and stdio (READ, WRITE) semihosting operations to the specified TCP port. The command allows to select which type of operations to redirect (debug, stdio, all (default)). + Note: for stdio operations, only I/O from/to ':tt' file descriptors are redirected. @end deffn