X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Farm926ejs.c;h=27eb75295d588c6ba7a0fb6bcce66fdbb525a758;hp=cc6318b9addf705c55f838cc8cf55d26e7602555;hb=ec93209f51afc09e273a4742dc0b5f2cefc15e76;hpb=d6c8945662e6027f6ba12d73bac2473088672db5;ds=sidebyside diff --git a/src/target/arm926ejs.c b/src/target/arm926ejs.c index cc6318b9ad..27eb75295d 100644 --- a/src/target/arm926ejs.c +++ b/src/target/arm926ejs.c @@ -509,7 +509,7 @@ int arm926ejs_arch_state(struct target *target) "MMU: %s, D-Cache: %s, I-Cache: %s", armv4_5_state_strings[armv4_5->core_state], Jim_Nvp_value2name_simple(nvp_target_debug_reason,target->debug_reason)->name, - armv4_5_mode_strings[armv4_5_mode_to_number(armv4_5->core_mode)], + arm_mode_name(armv4_5->core_mode), buf_get_u32(armv4_5->core_cache->reg_list[ARMV4_5_CPSR].value, 0, 32), buf_get_u32(armv4_5->core_cache->reg_list[15].value, 0, 32), state[arm926ejs->armv4_5_mmu.mmu_enabled],