diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-09-01 07:20:21 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-09-01 07:20:21 +0000 |
commit | ef1cfb23947bd32798077c6abb5c25a049460ae9 (patch) | |
tree | 678815a1db1e3d0ab37eb6ad8919b288cfb9a420 /src/target/target/aduc702x.cfg | |
parent | 3c8ef2c41baea675526af28f01008fcb550f8748 (diff) | |
download | openocd_libswd-ef1cfb23947bd32798077c6abb5c25a049460ae9.tar.gz openocd_libswd-ef1cfb23947bd32798077c6abb5c25a049460ae9.tar.bz2 openocd_libswd-ef1cfb23947bd32798077c6abb5c25a049460ae9.tar.xz openocd_libswd-ef1cfb23947bd32798077c6abb5c25a049460ae9.zip |
Duane Ellis: "target as an [tcl] object" feature.
git-svn-id: svn://svn.berlios.de/openocd/trunk@975 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/target/aduc702x.cfg')
-rw-r--r-- | src/target/target/aduc702x.cfg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target/aduc702x.cfg b/src/target/target/aduc702x.cfg index fdffbfea..3bc474f2 100644 --- a/src/target/target/aduc702x.cfg +++ b/src/target/target/aduc702x.cfg @@ -34,5 +34,5 @@ proc watchdog_service {} { set watchdog_hdl [after 500 watchdog_service] } -proc target_0_post_halt {} { watchdog_service } -proc arget_0_pre_resume {} { global watchdog_hdl; after cancel $watchdog_hdl } +[new_target_name] configure -event old-post_halt { watchdog_service } +[new_target_name] configure -event old-pre_resume { global watchdog_hdl; after cancel $watchdog_hdl } |