mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
char: rename qemu_chr_close() -> qemu_chr_delete()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
f69554b9e8
commit
70f24fb6c6
6 changed files with 8 additions and 8 deletions
|
@ -2499,7 +2499,7 @@ void gdb_exit(CPUState *env, int code)
|
|||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
if (s->chr) {
|
||||
qemu_chr_close(s->chr);
|
||||
qemu_chr_delete(s->chr);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@ -2785,7 +2785,7 @@ int gdbserver_start(const char *device)
|
|||
monitor_init(mon_chr, 0);
|
||||
} else {
|
||||
if (s->chr)
|
||||
qemu_chr_close(s->chr);
|
||||
qemu_chr_delete(s->chr);
|
||||
mon_chr = s->mon_chr;
|
||||
memset(s, 0, sizeof(GDBState));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue