xemu/linux-user
Richard Henderson ed3a06b10a semihosting: Return void from do_common_semihosting
Perform the cleanup in the FIXME comment in common_semi_gdb_syscall.
Do not modify guest registers until the syscall is complete,
which in the gdbstub case is asynchronous.

In the synchronous non-gdbstub case, use common_semi_set_ret
to set the result.  Merge set_swi_errno into common_semi_cb.
Rely on the latter for combined return value / errno setting.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-06-28 04:35:07 +05:30
..
aarch64 semihosting: Return void from do_common_semihosting 2022-06-28 04:35:07 +05:30
alpha
arm semihosting: Return void from do_common_semihosting 2022-06-28 04:35:07 +05:30
cris
generic
hexagon
hppa
i386
include linux-user/host/s390: Treat EX and EXRL as writes 2022-05-23 22:54:02 +02:00
m68k target/m68k: Implement TRAPcc 2022-06-02 09:35:02 +02:00
microblaze
mips
mips64
nios2
openrisc
ppc
riscv semihosting: Return void from do_common_semihosting 2022-06-28 04:35:07 +05:30
s390x linux-user/s390x: Fix unwinding from signal handlers 2022-05-23 22:52:27 +02:00
sh4
sparc
x86_64
xtensa
cpu_loop-common.h
elfload.c linux-user/x86_64: Fix ELF_PLATFORM 2022-06-21 20:15:39 +02:00
errnos.c.inc
exit.c
fd-trans.c
fd-trans.h
flat.h
flatload.c
ioctls.h
linux_loop.h
linuxload.c
loader.h
main.c
meson.build
mmap.c linux-user: Add partial support for MADV_DONTNEED 2022-06-24 10:00:00 +02:00
qemu.h
semihost.c
signal-common.h
signal.c
socket.h
strace.c linux-user/strace: Use is_error in print_syscall_err 2022-06-02 09:35:03 +02:00
strace.h
strace.list linux-user/strace: Adjust get_thread_area for m68k 2022-06-02 09:35:03 +02:00
syscall_defs.h
syscall_types.h
syscall.c linux-user: Adjust child_tidptr on set_tid_address() syscall 2022-06-24 10:00:01 +02:00
target_flat.h
thunk.c
trace-events
trace.h
uaccess.c
uname.c linux-user: Remove pointless CPU{ARCH}State casts 2022-05-23 22:47:20 +02:00
uname.h
user-internals.h linux-user: Add partial support for MADV_DONTNEED 2022-06-24 10:00:00 +02:00
user-mmap.h linux-user: Add partial support for MADV_DONTNEED 2022-06-24 10:00:00 +02:00
vm86.c