fix bug in ARM720: bugfix
authorZachary T Welch <zw@superlucidity.net>
Wed, 11 Nov 2009 05:02:30 +0000 (21:02 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 11 Nov 2009 05:02:30 +0000 (21:02 -0800)
src/target/arm720t.c

index c84ee28..6ce7980 100644 (file)
@@ -405,7 +405,7 @@ static int arm720t_target_create(struct target_s *target, Jim_Interp *interp)
 {
        struct arm720t_common_s *arm720t = calloc(1, sizeof(*arm720t));
 
-       arm720t->arm7tdmi_common->arm7_9_common.armv4_5_common.is_armv4 = true;
+       arm720t->arm7tdmi_common.arm7_9_common.armv4_5_common.is_armv4 = true;
        return arm720t_init_arch_info(target, arm720t, target->tap);
 }