2017-05-02 22:04:42 +08:00
|
|
|
source [find board/stm3210c_eval.cfg]
|
2016-10-28 16:35:54 +08:00
|
|
|
|
|
|
|
$_TARGETNAME configure -event gdb-attach {
|
|
|
|
echo "Debugger attaching: halting execution"
|
|
|
|
reset halt
|
|
|
|
gdb_breakpoint_override hard
|
|
|
|
}
|
|
|
|
|
|
|
|
$_TARGETNAME configure -event gdb-detach {
|
|
|
|
echo "Debugger detaching: resuming execution"
|
|
|
|
resume
|
|
|
|
}
|