source [find board/quark_d2000_onboard.cfg]
lmt.cpu configure -event gdb-attach {
reset halt
gdb_breakpoint_override hard
}
lmt.cpu configure -event gdb-detach {
resume
shutdown