mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
64c8c6a992
commit
675f702fd7
|
@ -41,11 +41,10 @@ void qemu_semihosting_console_outc(CPUArchState *env, target_ulong c);
|
||||||
* qemu_semihosting_console_inc:
|
* qemu_semihosting_console_inc:
|
||||||
* @env: CPUArchState
|
* @env: CPUArchState
|
||||||
*
|
*
|
||||||
* Receive single character from debug console. This may be the remote
|
* Receive single character from debug console. As this call may block
|
||||||
* gdb session if a softmmu guest is currently being debugged. As this
|
* if no data is available we suspend the CPU and will re-execute the
|
||||||
* call may block if no data is available we suspend the CPU and will
|
* instruction when data is there. Therefore two conditions must be met:
|
||||||
* re-execute the instruction when data is there. Therefore two
|
*
|
||||||
* conditions must be met:
|
|
||||||
* - CPUState is synchronized before calling this function
|
* - CPUState is synchronized before calling this function
|
||||||
* - pc is only updated once the character is successfully returned
|
* - pc is only updated once the character is successfully returned
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue