fixed gaffe for default examine implementation
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 11 Apr 2008 15:49:31 +0000 (15:49 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 11 Apr 2008 15:49:31 +0000 (15:49 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@567 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/target.c

index ee387dbda5844d38739209f10dc041bbf36d9922..2ec26e0be7bc2ce5647cdb9434107b5c6e4f5489 100644 (file)
@@ -466,6 +466,7 @@ static int default_mmu(struct target_s *target, int *enabled)
 
 static int default_examine(struct command_context_s *cmd_ctx, struct target_s *target)
 {
+       target->type->examined = 1;
        return ERROR_OK;
 }