diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-05-01 11:58:58 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-06-28 04:35:52 +0530 |
commit | 675f702fd725f07af50d99318c11bf2512b774d7 (patch) | |
tree | f14fb628a0e7428e55f30f4067a390974492cbcc | |
parent | 64c8c6a99221877f0e92f973c66e0e66a10ab2ff (diff) | |
download | qemu-675f702fd725f07af50d99318c11bf2512b774d7.zip qemu-675f702fd725f07af50d99318c11bf2512b774d7.tar.gz qemu-675f702fd725f07af50d99318c11bf2512b774d7.tar.bz2 |
semihosting: Fix docs comment for qemu_semihosting_console_inc
The implementation of qemu_semihosting_console_inc does not
defer to gdbstub, but only reads from the fifo in console.c.
Reviewed-by: Luc Michel <lmichel@kalray.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r-- | include/semihosting/console.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/semihosting/console.h b/include/semihosting/console.h index 0238f54..4f6217b 100644 --- a/include/semihosting/console.h +++ b/include/semihosting/console.h @@ -41,11 +41,10 @@ void qemu_semihosting_console_outc(CPUArchState *env, target_ulong c); * qemu_semihosting_console_inc: * @env: CPUArchState * - * Receive single character from debug console. This may be the remote - * gdb session if a softmmu guest is currently being debugged. As this - * call may block if no data is available we suspend the CPU and will - * re-execute the instruction when data is there. Therefore two - * conditions must be met: + * Receive single character from debug console. As this call may block + * if no data is available we suspend the CPU and will re-execute the + * instruction when data is there. Therefore two conditions must be met: + * * - CPUState is synchronized before calling this function * - pc is only updated once the character is successfully returned * |