This is an automated email from Gerrit.

Paul Fertser ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/4243

-- gerrit

commit 7f675aa2d4f4bd6cbb791155aa06e39e8383a6b7
Author: Paul Fertser <[email protected]>
Date:   Fri Oct 6 19:39:21 2017 +0300

    flash: startup.tcl: do not disable polling when not exiting
    
    Change-Id: I31b8a8b4519d65d6587207a71eb08dcee8ddd6fd
    Signed-off-by: Paul Fertser <[email protected]>

diff --git a/jimtcl b/jimtcl
index a9bf597..0c47d21 160000
--- a/jimtcl
+++ b/jimtcl
@@ -1 +1 @@
-Subproject commit a9bf5975fd0f89974d689a2d9ebd0873c8d64787
+Subproject commit 0c47d21079075444dde8e0fd1545b9a81e1c2f33
diff --git a/src/flash/startup.tcl b/src/flash/startup.tcl
index fbb8d8e..ed905e9 100644
--- a/src/flash/startup.tcl
+++ b/src/flash/startup.tcl
@@ -62,8 +62,10 @@ proc program {filename args} {
 
                if {[info exists reset]} {
                        # reset target if requested
-                       # also disable target polling, we are shutting down 
anyway
-                       poll off
+                       if {$exit == 1} {
+                               # also disable target polling, we are shutting 
down anyway
+                               poll off
+                       }
                        echo "** Resetting Target **"
                        reset run
                }

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to