Send error reply and abandon target list on unhandled timeout.
This commit is contained in:
parent
f5ef8671ab
commit
bda4279028
|
@ -48,7 +48,7 @@ main(int argc, char **argv)
|
||||||
TRY_CATCH(e, EXCEPTION_ALL) {
|
TRY_CATCH(e, EXCEPTION_ALL) {
|
||||||
gdb_main();
|
gdb_main();
|
||||||
}
|
}
|
||||||
if (e.type == EXCEPTION_ERROR) {
|
if (e.type) {
|
||||||
gdb_putpacketz("EFF");
|
gdb_putpacketz("EFF");
|
||||||
target_list_free();
|
target_list_free();
|
||||||
morse("TARGET LOST.", 1);
|
morse("TARGET LOST.", 1);
|
||||||
|
|
Loading…
Reference in New Issue