Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment