diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2019-09-16 15:15:32 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2019-10-15 18:09:03 +0100 |
| commit | f8ad2306d157a1db494dc0747f9f9afbae72cbda (patch) | |
| tree | be5c7bfe4d405804d9ea821cd2fd117d9437fed8 /include/hw/arm/linux-boot-if.h | |
| parent | f7d38cf2d0b35f707ec7a19f71030afbd8fd1491 (diff) | |
| download | focaccia-qemu-f8ad2306d157a1db494dc0747f9f9afbae72cbda.tar.gz focaccia-qemu-f8ad2306d157a1db494dc0747f9f9afbae72cbda.zip | |
target/arm/arm-semi: Correct comment about gdb syscall races
In arm_gdb_syscall() we have a comment suggesting a race because the syscall completion callback might not happen before the gdb_do_syscallv() call returns. The comment is correct that the callback may not happen but incorrect about the effects. Correct it and note the important caveat that callers must never do any work of any kind after return from arm_gdb_syscall() that depends on its return value. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20190916141544.17540-4-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/arm/linux-boot-if.h')
0 files changed, 0 insertions, 0 deletions