summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-11 19:32:10 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-11 19:32:10 +0000
commit2e0be4e18b5aec576d429c75ddee736fd0831229 (patch)
treea4475bf241e65f64fa4a66906437361a4717aac8 /src/target
parenteb9ecb8224df158fd2bba0ce9c8a15e512753d65 (diff)
downloadopenocd+libswd-2e0be4e18b5aec576d429c75ddee736fd0831229.tar.gz
openocd+libswd-2e0be4e18b5aec576d429c75ddee736fd0831229.tar.bz2
openocd+libswd-2e0be4e18b5aec576d429c75ddee736fd0831229.tar.xz
openocd+libswd-2e0be4e18b5aec576d429c75ddee736fd0831229.zip
- fix bug introduced during r1962
- Original patch submitted by David Claffey [dnclaffey@gmail.com]. git-svn-id: svn://svn.berlios.de/openocd/trunk@2202 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r--src/target/mips32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/mips32.c b/src/target/mips32.c
index 9eb7b0c9..a06ed0be 100644
--- a/src/target/mips32.c
+++ b/src/target/mips32.c
@@ -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);