summaryrefslogtreecommitdiff
path: root/src/server/startup.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/startup.tcl')
-rw-r--r--src/server/startup.tcl8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/server/startup.tcl b/src/server/startup.tcl
new file mode 100644
index 00000000..677bb2de
--- /dev/null
+++ b/src/server/startup.tcl
@@ -0,0 +1,8 @@
+# Handle GDB 'R' packet. Can be overriden by configuration script,
+# but it's not something one would expect target scripts to do
+# normally
+proc ocd_gdb_restart {target_id} {
+ # Fix!!! we're resetting all targets here! Really we should reset only
+ # one target
+ reset halt
+}