Nicolas Pitre fixed regression.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 18 Apr 2008 06:29:30 +0000 (06:29 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 18 Apr 2008 06:29:30 +0000 (06:29 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@590 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/feroceon.c

index 73c25be7404c6372d99fb03968dd7bfba69c0b88..dc2162920929792de980bb0b940590b6de63a790 100644 (file)
@@ -639,15 +639,14 @@ int feroceon_target_command(struct command_context_s *cmd_ctx, char *cmd, char *
 
 int feroceon_examine(struct command_context_s *cmd_ctx, struct target_s *target)
 {
+       armv4_5_common_t *armv4_5;
+       arm7_9_common_t *arm7_9;
        int retval;
 
-       retval=feroceon_examine(cmd_ctx, target);
+       retval = arm9tdmi_examine(cmd_ctx, target);
        if (retval!=ERROR_OK)
                return retval;
                        
-       armv4_5_common_t *armv4_5;
-       arm7_9_common_t *arm7_9;
-       
        armv4_5 = target->arch_info;
        arm7_9 = armv4_5->arch_info;