diff --git a/src/target/arm7tdmi.c b/src/target/arm7tdmi.c index 52a15bc66..f331bd2fe 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 2997ee2e7..0df6a14b1 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; }