From fa33b3290307be8b46dd0ff817ff06f4b7492d86 Mon Sep 17 00:00:00 2001 From: oharboe Date: Mon, 21 Jul 2008 18:06:36 +0000 Subject: Allows config scripts to override handling of 'R'(restart) GDB packet. git-svn-id: svn://svn.berlios.de/openocd/trunk@852 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/startup.tcl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/helper/startup.tcl') 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 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 -- cgit v1.2.3