diff options
| author | Alex Bennée | 2021-01-08 23:42:45 +0100 |
|---|---|---|
| committer | Alex Bennée | 2021-01-18 11:05:06 +0100 |
| commit | b9e10c6c7503d3c8073efc9ac302b9f33619d4fc (patch) | |
| tree | 7740a8a53b418a27d7ca177c705fe26ecb125ac3 /scripts/simplebench/bench-example.py | |
| parent | gdbstub: drop gdbserver_cleanup in favour of gdb_exit (diff) | |
| download | qemu-b9e10c6c7503d3c8073efc9ac302b9f33619d4fc.tar.gz qemu-b9e10c6c7503d3c8073efc9ac302b9f33619d4fc.tar.xz qemu-b9e10c6c7503d3c8073efc9ac302b9f33619d4fc.zip | |
gdbstub: ensure we clean-up when terminated
If you kill the inferior from GDB we end up leaving our socket lying
around. Fix this by calling gdb_exit() first.
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-10-alex.bennee@linaro.org>
Diffstat (limited to 'scripts/simplebench/bench-example.py')
0 files changed, 0 insertions, 0 deletions
