Allows config scripts to override handling of 'R'(restart) GDB packet.
[fw/openocd] / src / helper / startup.tcl
index d3ddb30c06179fa137370668bf882e5661c66542..acc4d318a584ef47e936e82783df926c24b7bcd0 100644 (file)
@@ -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