This is an automated email from Gerrit.

Spencer Oliver (s...@spen-soft.co.uk) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/359

-- gerrit

commit 1e16d70276920c70ea79cf09eaca1dad8ea8ad9a
Author: Spencer Oliver <s...@spen-soft.co.uk>
Date:   Mon Jan 9 21:35:19 2012 +0000

    target: fix missing semihosting return path
    
    bug nicely caught by clang.
    
    Change-Id: I7abf0fdd76666fb3eb1c83e3edfd01e0da485ffe
    Signed-off-by: Spencer Oliver <s...@spen-soft.co.uk>

diff --git a/src/target/armv4_5.c b/src/target/armv4_5.c
index 706733d..7468e38 100644
--- a/src/target/armv4_5.c
+++ b/src/target/armv4_5.c
@@ -966,6 +966,7 @@ COMMAND_HANDLER(handle_arm_semihosting_command)
        if (!arm->setup_semihosting)
        {
                command_print(CMD_CTX, "semihosting not supported for current 
target");
+               return ERROR_FAIL;
        }
 
        if (CMD_ARGC > 0)

-- 

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to