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~
