|
| From: | Richard Henderson |
| Subject: | Re: [PATCH 2/3] linux-user: Add strace for sendto() |
| Date: | Wed, 7 Aug 2024 20:55:30 +1000 |
| User-agent: | Mozilla Thunderbird |
On 8/7/24 18:35, Philippe Mathieu-Daudé wrote:
+#ifdef TARGET_NR_sendto
+static void
+print_sendto(CPUArchState *cpu_env, const struct syscallname *name,
+ abi_long arg0, abi_long arg1, abi_long arg2,
+ abi_long arg3, abi_long arg4, abi_long arg5)
+{
+ print_syscall_prologue(name);
+ print_sockfd(arg0, 0);
+ print_buf(arg1, arg2, 0);
You still need to log arg2. r~
| [Prev in Thread] | Current Thread | [Next in Thread] |