From: oharboe Date: Tue, 28 Apr 2009 07:33:50 +0000 (+0000) Subject: convert some LOG_INFO()'s during stepping into LOG_DEBUG() X-Git-Tag: v0.2.0~952 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e8240209fe08cc65c0eccbcd988aacfe6f7a344a;p=openocd convert some LOG_INFO()'s during stepping into LOG_DEBUG() git-svn-id: svn://svn.berlios.de/openocd/trunk@1552 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/target/arm11.c b/src/target/arm11.c index 241e6ed2..5801feb6 100644 --- a/src/target/arm11.c +++ b/src/target/arm11.c @@ -322,7 +322,7 @@ int arm11_check_init(arm11_common_t * arm11, u32 * dscr) if (!dscr) { dscr = &dscr_local_tmp_copy; - + CHECK_RETVAL(arm11_read_DSCR(arm11, dscr)); } @@ -673,7 +673,7 @@ int arm11_poll(struct target_s *target) return ERROR_OK; u32 dscr; - + CHECK_RETVAL(arm11_read_DSCR(arm11, &dscr)); LOG_DEBUG("DSCR %08x", dscr); @@ -861,7 +861,7 @@ int arm11_resume(struct target_s *target, int current, u32 address, int handle_b while (1) { u32 dscr; - + CHECK_RETVAL(arm11_read_DSCR(arm11, &dscr)); LOG_DEBUG("DSCR %08x", dscr); @@ -906,7 +906,7 @@ int arm11_step(struct target_s *target, int current, u32 address, int handle_bre 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 @@ int arm11_step(struct target_s *target, int current, u32 address, int handle_bre 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 @@ int arm11_step(struct target_s *target, int current, u32 address, int handle_bre 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 @@ int arm11_add_breakpoint(struct target_s *target, breakpoint_t *breakpoint) 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; }