diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2019-09-16 15:15:35 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2019-10-15 18:09:03 +0100 |
| commit | 939f5b4331b159b51c85cae1b8f0c9d82aa0dffd (patch) | |
| tree | 57e2af6db5205a3233884749e865ef9f41f6127e /hw/hyperv/hyperv_testdev.c | |
| parent | 6ed6845532ef023ab9953e22f3aada6aa59657b9 (diff) | |
| download | focaccia-qemu-939f5b4331b159b51c85cae1b8f0c9d82aa0dffd.tar.gz focaccia-qemu-939f5b4331b159b51c85cae1b8f0c9d82aa0dffd.zip | |
target/arm/arm-semi: Use set_swi_errno() in gdbstub callback functions
When we are routing semihosting operations through the gdbstub, the work of sorting out the return value and setting errno if necessary is done by callback functions which are invoked by the gdbstub code. Clean up some ifdeffery in those functions by having them call set_swi_errno() to set the semihosting errno. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20190916141544.17540-7-peter.maydell@linaro.org
Diffstat (limited to 'hw/hyperv/hyperv_testdev.c')
0 files changed, 0 insertions, 0 deletions