Commit cd22bedf authored by Spencer Oliver's avatar Spencer Oliver
Browse files

target: fix missing semihosting return path



bug nicely caught by clang.

Change-Id: I7abf0fdd76666fb3eb1c83e3edfd01e0da485ffe
Signed-off-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/359


Tested-by: jenkins
Reviewed-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
parent 80df024c
...@@ -966,6 +966,7 @@ COMMAND_HANDLER(handle_arm_semihosting_command) ...@@ -966,6 +966,7 @@ COMMAND_HANDLER(handle_arm_semihosting_command)
if (!arm->setup_semihosting) if (!arm->setup_semihosting)
{ {
command_print(CMD_CTX, "semihosting not supported for current target"); command_print(CMD_CTX, "semihosting not supported for current target");
return ERROR_FAIL;
} }
if (CMD_ARGC > 0) if (CMD_ARGC > 0)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment