aboutsummaryrefslogtreecommitdiff
path: root/src/target/armv4_5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/armv4_5.c')
-rw-r--r--src/target/armv4_5.c1
1 files changed, 1 insertions, 0 deletions
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)