Browse Source

Send error reply and abandon target list on unhandled timeout.

pull/86/head
Gareth McMullin 10 years ago
parent
commit
bda4279028
  1. 2
      src/main.c

2
src/main.c

@ -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…
Cancel
Save