found two more gaffes for reset wip
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 11 Apr 2008 15:56:57 +0000 (15:56 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 11 Apr 2008 15:56:57 +0000 (15:56 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@568 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/arm7tdmi.c
src/target/arm9tdmi.c

index 52a15bc66984941675a86aeeeeedb5dfe2afbd0b..f331bd2feb647d58c0264162dbb10d7600206304 100644 (file)
@@ -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;
 }
 
index 2997ee2e77eb6ab1443acbbc7c2d744f438a2cb0..0df6a14b15e3de046573e0e0b7e33cfd6a213bf7 100644 (file)
@@ -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;
 }