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) {
|
||||
gdb_main();
|
||||
}
|
||||
if (e.type == EXCEPTION_ERROR) {
|
||||
if (e.type) {
|
||||
gdb_putpacketz("EFF");
|
||||
target_list_free();
|
||||
morse("TARGET LOST.", 1);
|
||||
|
|
Loading…
Reference in New Issue