mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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 <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210108224256.2321-9-alex.bennee@linaro.org>
This commit is contained in:
parent
ad9dcb207b
commit
5ef0317f58
3 changed files with 12 additions and 11 deletions
|
@ -3547,13 +3547,6 @@ int gdbserver_start(const char *device)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void gdbserver_cleanup(void)
|
||||
{
|
||||
if (gdbserver_state.init) {
|
||||
put_packet("W00");
|
||||
}
|
||||
}
|
||||
|
||||
static void register_types(void)
|
||||
{
|
||||
type_register_static(&char_gdb_type_info);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue