Enable debug during the poll
This commit is contained in:
parent
0be30cc58c
commit
3c00bd8ff2
|
@ -1036,7 +1036,9 @@ int riscv_openocd_poll(struct target *target)
|
||||||
#ifdef RISCV_DEBUG_POLL
|
#ifdef RISCV_DEBUG_POLL
|
||||||
LOG_DEBUG(" hart %d halted", halted_hart);
|
LOG_DEBUG(" hart %d halted", halted_hart);
|
||||||
#else
|
#else
|
||||||
|
debug_level = old_debug_level;
|
||||||
LOG_DEBUG("hart %d halted", halted_hart);
|
LOG_DEBUG("hart %d halted", halted_hart);
|
||||||
|
debug_level = LOG_LVL_INFO;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* If we're here then at least one hart triggered. That means
|
/* If we're here then at least one hart triggered. That means
|
||||||
|
@ -1063,7 +1065,9 @@ int riscv_openocd_poll(struct target *target)
|
||||||
#ifdef RISCV_DEBUG_POLL
|
#ifdef RISCV_DEBUG_POLL
|
||||||
LOG_DEBUG(" hart %d halted", halted_hart);
|
LOG_DEBUG(" hart %d halted", halted_hart);
|
||||||
#else
|
#else
|
||||||
|
debug_level = old_debug_level;
|
||||||
LOG_DEBUG("hart %d halted", halted_hart);
|
LOG_DEBUG("hart %d halted", halted_hart);
|
||||||
|
debug_level = LOG_LVL_INFO;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue