@@ -388,7 +388,7 @@ static int arc_build_reg_cache(struct target *target)
388388 }
389389
390390 list_for_each_entry (reg_desc , & arc -> aux_reg_descriptions , list ) {
391- CHECK_RETVAL (arc_init_reg (target , & reg_list [i ], reg_desc , i ));
391+ CHECK_RETVAL (arc_init_reg (target , & reg_list [i ], reg_desc , i ));
392392
393393 LOG_TARGET_DEBUG (target , "reg n=%3li name=%3s group=%s feature=%s" , i ,
394394 reg_list [i ].name , reg_list [i ].group ,
@@ -464,7 +464,7 @@ static int arc_build_bcr_reg_cache(struct target *target)
464464 }
465465
466466 list_for_each_entry (reg_desc , & arc -> bcr_reg_descriptions , list ) {
467- CHECK_RETVAL (arc_init_reg (target , & reg_list [i ], reg_desc , gdb_regnum ));
467+ CHECK_RETVAL (arc_init_reg (target , & reg_list [i ], reg_desc , gdb_regnum ));
468468 /* BCRs always semantically, they are just read-as-zero, if there is
469469 * not real register. */
470470 reg_list [i ].exist = true;
@@ -719,14 +719,14 @@ static int arc_configure(struct target *target)
719719 LOG_TARGET_DEBUG (target , "Configuring ARC ICCM and DCCM" );
720720
721721 /* Configuring DCCM if DCCM_BUILD and AUX_DCCM are known registers. */
722- if (arc_reg_get_by_name (target -> reg_cache , "dccm_build" , true) &&
723- arc_reg_get_by_name (target -> reg_cache , "aux_dccm" , true))
724- CHECK_RETVAL (arc_configure_dccm (target ));
722+ if (arc_reg_get_by_name (target -> reg_cache , "dccm_build" , true)
723+ && arc_reg_get_by_name (target -> reg_cache , "aux_dccm" , true))
724+ CHECK_RETVAL (arc_configure_dccm (target ));
725725
726726 /* Configuring ICCM if ICCM_BUILD and AUX_ICCM are known registers. */
727- if (arc_reg_get_by_name (target -> reg_cache , "iccm_build" , true) &&
728- arc_reg_get_by_name (target -> reg_cache , "aux_iccm" , true))
729- CHECK_RETVAL (arc_configure_iccm (target ));
727+ if (arc_reg_get_by_name (target -> reg_cache , "iccm_build" , true)
728+ && arc_reg_get_by_name (target -> reg_cache , "aux_iccm" , true))
729+ CHECK_RETVAL (arc_configure_iccm (target ));
730730
731731 return ERROR_OK ;
732732}
@@ -1067,9 +1067,7 @@ static int arc_poll(struct target *target)
10671067 LOG_TARGET_DEBUG (target , "Discrepancy of STATUS32[0] HALT bit and ARC_JTAG_STAT_RU, "
10681068 "target is still running" );
10691069 }
1070-
10711070 } else if (target -> state == TARGET_DEBUG_RUNNING ) {
1072-
10731071 target -> state = TARGET_HALTED ;
10741072 LOG_TARGET_DEBUG (target , "ARC core is in debug running mode" );
10751073
0 commit comments