From ad9dcb207b054fa62c7118f6fe4d052e8b26c728 Mon Sep 17 00:00:00 2001 From: Alex Bennée Date: Fri, 8 Jan 2021 22:42:43 +0000 Subject: gdbstub: drop CPUEnv from gdb_exit() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gdb_exit() has never needed anything from env and I doubt we are going to start now. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Reviewed-by: Laurent Vivier Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210108224256.2321-8-alex.bennee@linaro.org> --- linux-user/exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-user/exit.c') 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(); } -- cgit 1.4.1