summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-19 16:42:58 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-19 16:42:58 +0000
commitea0270e38ee811e4a64b9f21b8a71dcc2559626f (patch)
treeed5baf492820bfea20e35c05e62980ea8713066b
parent6af4a2268996bf774b33fa97b9b1803d02d62a0e (diff)
downloadopenocd_libswd-ea0270e38ee811e4a64b9f21b8a71dcc2559626f.tar.gz
openocd_libswd-ea0270e38ee811e4a64b9f21b8a71dcc2559626f.tar.bz2
openocd_libswd-ea0270e38ee811e4a64b9f21b8a71dcc2559626f.tar.xz
openocd_libswd-ea0270e38ee811e4a64b9f21b8a71dcc2559626f.zip
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/target.c b/src/target/target.c
index 3ed7fc4e..b2220c0b 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);