Files
openocd/src/target
Tarek BOCHKATI b9526f1401 semihosting: permit redirection of semihosting I/O to TCP
This command permits the usage of a TCP port to perform debug and stdio
operations:
 - debug : READC, WRITEC and WRITE0
 - stdio : READ, WRITE

This will permit the separation of semihosting message from OpenOCD log,
and separate semihosting messages per core.

syntax: arm semihosting_redirect (disable | tcp <port> [debug|stdio|all])

this allows to select which operations to be performed via TCP (debug,
stdio or all (default)).

Note: for stdio operations, only I/O from/to ':tt' file descriptors are
redirected.

tested using netcat on ubuntu

Change-Id: I37053463667ba109d52429d4f98bc98d0ede298d
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/5562
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2022-03-19 09:11:05 +00:00
..
2022-02-14 15:13:11 +00:00
2021-07-20 14:52:25 +01:00
2021-05-01 14:35:09 +01:00
2021-05-22 10:06:45 +01:00
2016-05-24 22:30:55 +01:00
2021-07-20 14:52:25 +01:00
2018-04-10 09:13:02 +01:00
2021-07-20 14:52:25 +01:00
2021-05-01 14:35:09 +01:00
2020-03-12 10:11:19 +00:00
2021-07-24 10:37:25 +01:00
2021-07-24 10:37:25 +01:00
2021-05-22 10:06:45 +01:00
2016-05-24 22:30:55 +01:00
2022-03-12 09:33:35 +00:00
2021-07-24 10:37:25 +01:00
2021-07-24 10:37:25 +01:00
2018-12-12 08:47:44 +00:00
2018-12-12 08:47:44 +00:00
2021-07-24 10:37:25 +01:00
2016-05-24 22:30:55 +01:00
2021-05-01 14:35:09 +01:00
2021-07-20 14:53:03 +01:00
2019-11-28 16:59:15 +00:00
2020-07-08 22:08:08 +01:00
2019-11-28 16:59:15 +00:00
2017-05-08 18:04:56 +01:00
2021-05-01 14:35:09 +01:00
2021-06-18 23:14:09 +01:00
2021-05-01 14:35:09 +01:00
2020-12-02 23:15:52 +00:00
2020-12-02 23:15:52 +00:00
2021-05-01 14:35:09 +01:00
2016-05-24 22:30:55 +01:00