source [find interface/ftdi/flyswatter2.cfg];
source [find board/quark_x10xx_board.cfg];

quark_x10xx.cpu configure -event gdb-attach {
  halt
}

quark_x10xx.cpu configure -event gdb-detach {
  resume
  shutdown
}