summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-24 07:18:13 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-24 07:18:13 +0000
commitfdb7a1705dde13d15cbe619089919ca412445dba (patch)
tree513bef6f07e0425876436c841629dff62d91a59c /src/helper
parent74bb0cd2440947a35a158ec8c52cb829f68eed60 (diff)
downloadopenocd+libswd-fdb7a1705dde13d15cbe619089919ca412445dba.tar.gz
openocd+libswd-fdb7a1705dde13d15cbe619089919ca412445dba.tar.bz2
openocd+libswd-fdb7a1705dde13d15cbe619089919ca412445dba.tar.xz
openocd+libswd-fdb7a1705dde13d15cbe619089919ca412445dba.zip
gdb_report_data_abort now ignores all target read errors, including address space wraps. Hopefully works around problems in 6.8
git-svn-id: svn://svn.berlios.de/openocd/trunk@1099 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/startup.tcl16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/helper/startup.tcl b/src/helper/startup.tcl
index fad7412c..c98a9cf5 100644
--- a/src/helper/startup.tcl
+++ b/src/helper/startup.tcl
@@ -119,23 +119,23 @@ proc target_script {target_num eventname scriptname} {
set tname [target number $target_num]
if { 0 == [string compare $eventname "reset"] } {
- $tname configure -event reset-init "script $scriptname"
- return
+ $tname configure -event reset-init "script $scriptname"
+ return
}
if { 0 == [string compare $eventname "post_reset"] } {
- $tname configure -event reset-init "script $scriptname"
- return
+ $tname configure -event reset-init "script $scriptname"
+ return
}
if { 0 == [string compare $eventname "pre_reset"] } {
- $tname configure -event reset-start "script $scriptname"
- return
+ $tname configure -event reset-start "script $scriptname"
+ return
}
if { 0 == [string compare $eventname "gdb_program_config"] } {
- $tname configure -event old-gdb_program_config "script $scriptname"
- return
+ $tname configure -event old-gdb_program_config "script $scriptname"
+ return
}
return -code error "Unknown target (old) event: $eventname (try $tname configure -event NAME)"