summaryrefslogtreecommitdiff
path: root/src/helper/startup.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/startup.tcl')
-rw-r--r--src/helper/startup.tcl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/helper/startup.tcl b/src/helper/startup.tcl
index d3ddb30c..acc4d318 100644
--- a/src/helper/startup.tcl
+++ b/src/helper/startup.tcl
@@ -152,3 +152,8 @@ proc script {filename} {
add_help_text script "<filename> - filename of OpenOCD script (tcl) to run"
+
+# Handle GDB 'R' packet. Can be overriden by configuration script
+proc gdb_restart {} {
+ reset halt
+} \ No newline at end of file