]> git.sur5r.net Git - openocd/commitdiff
- fix bug introduced during r1962
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 11 Jun 2009 19:32:10 +0000 (19:32 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 11 Jun 2009 19:32:10 +0000 (19:32 +0000)
- Original patch submitted by David Claffey [dnclaffey@gmail.com].

git-svn-id: svn://svn.berlios.de/openocd/trunk@2202 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/mips32.c

index 9eb7b0c9a23ffa22766842446851ee2024bf6b34..a06ed0beda3f7feb091375c64f0234158a1323bc 100644 (file)
@@ -346,7 +346,7 @@ int mips32_examine(struct target_s *target)
 {
        mips32_common_t *mips32 = target->arch_info;
        
-       if (target_was_examined(target))
+       if (!target_was_examined(target))
        {
                target_set_examined(target);