summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/target/arm7tdmi.c2
-rw-r--r--src/target/arm9tdmi.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/target/arm7tdmi.c b/src/target/arm7tdmi.c
index 52a15bc6..f331bd2f 100644
--- a/src/target/arm7tdmi.c
+++ b/src/target/arm7tdmi.c
@@ -756,6 +756,8 @@ void arm7tdmi_build_reg_cache(target_t *target)
int arm7tdmi_examine(struct command_context_s *cmd_ctx, struct target_s *target)
{
+ target->type->examined = 1;
+
return ERROR_OK;
}
diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c
index 2997ee2e..0df6a14b 100644
--- a/src/target/arm9tdmi.c
+++ b/src/target/arm9tdmi.c
@@ -862,6 +862,7 @@ void arm9tdmi_build_reg_cache(target_t *target)
int arm9tdmi_examine(struct command_context_s *cmd_ctx, struct target_s *target)
{
+ target->type->examined = 1;
return ERROR_OK;
}