1source [find interface/ftdi/jtag-lock-pick_tiny_2.cfg]
2source [find board/olimex_stm32_h103.cfg]
3
4$_TARGETNAME configure -event gdb-attach {
5        echo "Debugger attaching: halting execution"
6        reset halt
7        gdb_breakpoint_override hard
8}
9
10$_TARGETNAME configure -event gdb-detach {
11        echo "Debugger detaching: resuming execution"
12        resume
13}
14