aboutsummaryrefslogtreecommitdiff
path: root/src/gdb_main.c
diff options
context:
space:
mode:
authorPaul Fertser2013-04-15 21:42:46 +0400
committerGareth McMullin2013-05-18 15:33:58 +1200
commitdf32aad757935c8953c844ffaa455fa940b4b405 (patch)
treeb1e201e8a2b979c98c127f2a51f87932dc817c35 /src/gdb_main.c
parent5020d1f05db920cd0633982016c0b1978a310d20 (diff)
semihosting: improve handling of console I/O
This implements special handling for SYS_OPEN to catch requests for ":tt" which is reserved by ARM for console input/output. They're mapped to the appropriate GDB file descriptors automatically. An additional file handle offset is introduced because ARM doesn't consider zero handle to be valid. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'src/gdb_main.c')
0 files changed, 0 insertions, 0 deletions