|
@@ -333,7 +333,7 @@ abi_long do_freebsd_syscall(void *cpu_env, int num, abi_long arg1,
|
|
#ifdef CONFIG_GPROF
|
|
#ifdef CONFIG_GPROF
|
|
_mcleanup();
|
|
_mcleanup();
|
|
#endif
|
|
#endif
|
|
- gdb_exit(cpu_env, arg1);
|
|
|
|
|
|
+ gdb_exit(arg1);
|
|
qemu_plugin_atexit_cb();
|
|
qemu_plugin_atexit_cb();
|
|
/* XXX: should free thread stack and CPU env */
|
|
/* XXX: should free thread stack and CPU env */
|
|
_exit(arg1);
|
|
_exit(arg1);
|
|
@@ -435,7 +435,7 @@ abi_long do_netbsd_syscall(void *cpu_env, int num, abi_long arg1,
|
|
#ifdef CONFIG_GPROF
|
|
#ifdef CONFIG_GPROF
|
|
_mcleanup();
|
|
_mcleanup();
|
|
#endif
|
|
#endif
|
|
- gdb_exit(cpu_env, arg1);
|
|
|
|
|
|
+ gdb_exit(arg1);
|
|
qemu_plugin_atexit_cb();
|
|
qemu_plugin_atexit_cb();
|
|
/* XXX: should free thread stack and CPU env */
|
|
/* XXX: should free thread stack and CPU env */
|
|
_exit(arg1);
|
|
_exit(arg1);
|
|
@@ -514,7 +514,7 @@ abi_long do_openbsd_syscall(void *cpu_env, int num, abi_long arg1,
|
|
#ifdef CONFIG_GPROF
|
|
#ifdef CONFIG_GPROF
|
|
_mcleanup();
|
|
_mcleanup();
|
|
#endif
|
|
#endif
|
|
- gdb_exit(cpu_env, arg1);
|
|
|
|
|
|
+ gdb_exit(arg1);
|
|
qemu_plugin_atexit_cb();
|
|
qemu_plugin_atexit_cb();
|
|
/* XXX: should free thread stack and CPU env */
|
|
/* XXX: should free thread stack and CPU env */
|
|
_exit(arg1);
|
|
_exit(arg1);
|