projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allows config scripts to override handling of 'R'(restart) GDB packet.
[fw/openocd]
/
src
/
helper
/
startup.tcl
diff --git
a/src/helper/startup.tcl
b/src/helper/startup.tcl
index d3ddb30c06179fa137370668bf882e5661c66542..acc4d318a584ef47e936e82783df926c24b7bcd0 100644
(file)
--- 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