From: oharboe at B. <oh...@ma...> - 2009-04-28 09:33:51
|
Author: oharboe Date: 2009-04-28 09:33:50 +0200 (Tue, 28 Apr 2009) New Revision: 1552 Modified: trunk/src/target/arm11.c Log: convert some LOG_INFO()'s during stepping into LOG_DEBUG() Modified: trunk/src/target/arm11.c =================================================================== --- trunk/src/target/arm11.c 2009-04-28 07:29:18 UTC (rev 1551) +++ trunk/src/target/arm11.c 2009-04-28 07:33:50 UTC (rev 1552) @@ -322,7 +322,7 @@ if (!dscr) { dscr = &dscr_local_tmp_copy; - + CHECK_RETVAL(arm11_read_DSCR(arm11, dscr)); } @@ -673,7 +673,7 @@ return ERROR_OK; u32 dscr; - + CHECK_RETVAL(arm11_read_DSCR(arm11, &dscr)); LOG_DEBUG("DSCR %08x", dscr); @@ -861,7 +861,7 @@ while (1) { u32 dscr; - + CHECK_RETVAL(arm11_read_DSCR(arm11, &dscr)); LOG_DEBUG("DSCR %08x", dscr); @@ -906,7 +906,7 @@ if (!current) R(PC) = address; - LOG_INFO("STEP PC %08x%s", R(PC), !current ? "!" : ""); + LOG_DEBUG("STEP PC %08x%s", R(PC), !current ? "!" : ""); /** \todo TODO: Thumb not supported here */ @@ -920,7 +920,7 @@ R(PC) += 4; arm11->reg_list[ARM11_RC_PC].valid = 1; arm11->reg_list[ARM11_RC_PC].dirty = 0; - LOG_INFO("Skipping BKPT"); + LOG_DEBUG("Skipping BKPT"); } /* skip over Wait for interrupt / Standby */ /* mcr 15, 0, r?, cr7, cr0, {4} */ @@ -929,12 +929,12 @@ R(PC) += 4; arm11->reg_list[ARM11_RC_PC].valid = 1; arm11->reg_list[ARM11_RC_PC].dirty = 0; - LOG_INFO("Skipping WFI"); + LOG_DEBUG("Skipping WFI"); } /* ignore B to self */ else if ((next_instruction & 0xFEFFFFFF) == 0xeafffffe) { - LOG_INFO("Not stepping jump to self"); + LOG_DEBUG("Not stepping jump to self"); } else { @@ -1331,13 +1331,13 @@ if (!arm11->free_brps) { - LOG_INFO("no breakpoint unit available for hardware breakpoint"); + LOG_DEBUG("no breakpoint unit available for hardware breakpoint"); return ERROR_TARGET_RESOURCE_NOT_AVAILABLE; } if (breakpoint->length != 4) { - LOG_INFO("only breakpoints of four bytes length supported"); + LOG_DEBUG("only breakpoints of four bytes length supported"); return ERROR_TARGET_RESOURCE_NOT_AVAILABLE; } |