From fdd5582f7eb1c59c19aad5bf3af3363188acca28 Mon Sep 17 00:00:00 2001 From: oharboe Date: Fri, 11 Apr 2008 15:56:57 +0000 Subject: [PATCH] found two more gaffes for reset wip git-svn-id: svn://svn.berlios.de/openocd/trunk@568 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/arm7tdmi.c | 2 ++ src/target/arm9tdmi.c | 1 + 2 files changed, 3 insertions(+) diff --git a/src/target/arm7tdmi.c b/src/target/arm7tdmi.c index 52a15bc669..f331bd2feb 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 2997ee2e77..0df6a14b15 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; } -- 2.30.2