diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-21 18:06:36 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-21 18:06:36 +0000 |
commit | fa33b3290307be8b46dd0ff817ff06f4b7492d86 (patch) | |
tree | 70a7def6fa1f469c54ea3e2645690acd7fdc76cb /src/helper | |
parent | 25b0e4e0d5892fb56725b4e8a98bcba46ee3689b (diff) | |
download | openocd+libswd-fa33b3290307be8b46dd0ff817ff06f4b7492d86.tar.gz openocd+libswd-fa33b3290307be8b46dd0ff817ff06f4b7492d86.tar.bz2 openocd+libswd-fa33b3290307be8b46dd0ff817ff06f4b7492d86.tar.xz openocd+libswd-fa33b3290307be8b46dd0ff817ff06f4b7492d86.zip |
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
Diffstat (limited to 'src/helper')
-rw-r--r-- | src/helper/startup.tcl | 5 |
1 files changed, 5 insertions, 0 deletions
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> - 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 |