summaryrefslogtreecommitdiff
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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/armv4_5.c b/src/target/armv4_5.c
index c4637aee..bd9ea8e8 100644
--- a/src/target/armv4_5.c
+++ b/src/target/armv4_5.c
@@ -612,6 +612,9 @@ int armv4_5_run_algorithm_inner(struct target_s *target, int num_mem_params, mem
breakpoint_remove(target, exit_point);
+ if (retval!=ERROR_OK)
+ return retval;
+
for (i = 0; i < num_mem_params; i++)
{
if (mem_params[i].direction != PARAM_OUT)