make target_wait_state() usable from other places, made LOG_USER() output LOG_DEBUG...
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 19 Aug 2008 16:42:58 +0000 (16:42 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 19 Aug 2008 16:42:58 +0000 (16:42 +0000)
commitea0270e38ee811e4a64b9f21b8a71dcc2559626f
treeed5baf492820bfea20e35c05e62980ea8713066b
parent6af4a2268996bf774b33fa97b9b1803d02d62a0e
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
src/target/target.c