diff options
| author | Alex Bennée | 2021-01-08 23:42:43 +0100 |
|---|---|---|
| committer | Alex Bennée | 2021-01-18 11:05:06 +0100 |
| commit | ad9dcb207b054fa62c7118f6fe4d052e8b26c728 (patch) | |
| tree | c999defc2dbe16f56dab89824f75efd82d3d8e73 /linux-user | |
| parent | gdbstub: add support to Xfer:auxv:read: packet (diff) | |
| download | qemu-ad9dcb207b054fa62c7118f6fe4d052e8b26c728.tar.gz qemu-ad9dcb207b054fa62c7118f6fe4d052e8b26c728.tar.xz qemu-ad9dcb207b054fa62c7118f6fe4d052e8b26c728.zip | |
gdbstub: drop CPUEnv from gdb_exit()
gdb_exit() has never needed anything from env and I doubt we are going
to start now.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210108224256.2321-8-alex.bennee@linaro.org>
Diffstat (limited to 'linux-user')
| -rw-r--r-- | linux-user/exit.c | 2 |
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(); } |
