|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 6/6] bsd-user/freebsd/os-syscall.c: Implement exit |
Date: | Thu, 9 Jun 2022 07:15:41 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
On 6/8/22 14:17, Warner Losh wrote:
+static inline abi_long do_bsd_exit(void *cpu_env, abi_long arg1) +{ +#ifdef TARGET_GPROF + _mcleanup(); +#endif + gdb_exit(arg1); + qemu_plugin_user_exit(); + /* XXX: should free thread stack and CPU env here */ + _exit(arg1); +
I think you can ditch the comment. There's no point in that just before exit. r~
[Prev in Thread] | Current Thread | [Next in Thread] |