From cb7dbc1af41068f826246beb53870c01d8973bb8 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Tue, 17 Nov 2009 08:29:20 -0800 Subject: split startup.tcl file across modules Moves definitions for each layer into their own file, eliminating layering violations in the built-in TCL code. Updates src/Makefile.am rules to include all files in the final startup.tcl input file, and others Makefile.am rules to distribute the new files in our packages. --- src/server/startup.tcl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/server/startup.tcl (limited to 'src/server/startup.tcl') 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 +} -- cgit v1.2.3