diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/target/arm720t.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/target/arm720t.c b/src/target/arm720t.c index 728e1979..c84ee287 100644 --- a/src/target/arm720t.c +++ b/src/target/arm720t.c @@ -403,8 +403,9 @@ static int arm720t_init_arch_info(target_t *target, static int arm720t_target_create(struct target_s *target, Jim_Interp *interp) { - struct arm720t_common_s *arm720t = target_to_arm720(target); + struct arm720t_common_s *arm720t = calloc(1, sizeof(*arm720t)); + arm720t->arm7tdmi_common->arm7_9_common.armv4_5_common.is_armv4 = true; return arm720t_init_arch_info(target, arm720t, target->tap); } |