diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-19 16:42:58 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-19 16:42:58 +0000 |
commit | ea0270e38ee811e4a64b9f21b8a71dcc2559626f (patch) | |
tree | ed5baf492820bfea20e35c05e62980ea8713066b | |
parent | 6af4a2268996bf774b33fa97b9b1803d02d62a0e (diff) | |
download | riscv-openocd-ea0270e38ee811e4a64b9f21b8a71dcc2559626f.zip riscv-openocd-ea0270e38ee811e4a64b9f21b8a71dcc2559626f.tar.gz riscv-openocd-ea0270e38ee811e4a64b9f21b8a71dcc2559626f.tar.bz2 |
make target_wait_state() usable from other places, made LOG_USER() output LOG_DEBUG() output. Avoids flooding logs in certain cases and OpenOCD will output error message if the halt fails.
git-svn-id: svn://svn.berlios.de/openocd/trunk@944 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/target/target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/target.c b/src/target/target.c index 3ed7fc4..b2220c0 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -1642,7 +1642,7 @@ int target_wait_state(target_t *target, enum target_state state, int ms) if (once) { once=0; - LOG_USER("waiting for target %s...", target_state_strings[state]); + LOG_DEBUG("waiting for target %s...", target_state_strings[state]); } gettimeofday(&now, NULL); |