|
From: | Richard Henderson |
Subject: | Re: [PATCH 3/6] bsd-user/freebsd/os-syscall.c: Tracing and error boilerplate |
Date: | Tue, 7 Jun 2022 14:34:53 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
On 6/7/22 13:14, Warner Losh wrote:
+static abi_long freebsd_syscall(void *cpu_env, int num, abi_long arg1, + abi_long arg2, abi_long arg3, abi_long arg4, + abi_long arg5, abi_long arg6, abi_long arg7, + abi_long arg8) +{ + abi_long ret; + + switch (num) { + default: + gemu_log("qemu: unsupported syscall: %d\n", num);
qemu_log_mask(LOG_UNIMP, "Unsupported syscall: %d\n", num);
+#ifdef DEBUG + gemu_log("freebsd syscall %d\n", num); +#endif
Drop this. It's redundant with strace. Otherwise, Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |