From 5ef0317f58c0c88ad1146deab248b638148bd1b1 Mon Sep 17 00:00:00 2001 From: Alex Bennée Date: Fri, 8 Jan 2021 22:42:44 +0000 Subject: gdbstub: drop gdbserver_cleanup in favour of gdb_exit Despite it's name it didn't actually clean-up so let us document gdb_exit() better and use that. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210108224256.2321-9-alex.bennee@linaro.org> --- softmmu/runstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'softmmu') diff --git a/softmmu/runstate.c b/softmmu/runstate.c index 636aab0add..6177693a30 100644 --- a/softmmu/runstate.c +++ b/softmmu/runstate.c @@ -775,7 +775,7 @@ void qemu_init_subsystems(void) void qemu_cleanup(void) { - gdbserver_cleanup(); + gdb_exit(0); /* * cleaning up the migration object cancels any existing migration -- cgit v1.2.3-55-g7522