aboutsummaryrefslogtreecommitdiff
path: root/linux-user/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/exit.c')
-rw-r--r--linux-user/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/exit.c b/linux-user/exit.c
index 1594015444..70b344048c 100644
--- a/linux-user/exit.c
+++ b/linux-user/exit.c
@@ -34,6 +34,6 @@ void preexit_cleanup(CPUArchState *env, int code)
#ifdef CONFIG_GCOV
__gcov_dump();
#endif
- gdb_exit(env, code);
+ gdb_exit(code);
qemu_plugin_atexit_cb();
}