summaryrefslogtreecommitdiff
path: root/src/target/arm7_9_common.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-29 20:04:14 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-29 20:04:14 +0000
commitd3315c4183c34cf48590e9c92ef2b96180271a0a (patch)
treeb7299957d2647c82e6201d762a80790c3771eb10 /src/target/arm7_9_common.c
parent95da247b40d13600c37588d6be0ef8b3cc9abf2f (diff)
downloadopenocd+libswd-d3315c4183c34cf48590e9c92ef2b96180271a0a.tar.gz
openocd+libswd-d3315c4183c34cf48590e9c92ef2b96180271a0a.tar.bz2
openocd+libswd-d3315c4183c34cf48590e9c92ef2b96180271a0a.tar.xz
openocd+libswd-d3315c4183c34cf48590e9c92ef2b96180271a0a.zip
David Brownell <david-b@pacbell.net>:
Remove some bogus warnings during server startup for ARM926ejs targets that were already halted for debug ... e.g. started up a freshly built instance. git-svn-id: svn://svn.berlios.de/openocd/trunk@2417 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm7_9_common.c')
-rw-r--r--src/target/arm7_9_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c
index ab9e9737..79d91e7a 100644
--- a/src/target/arm7_9_common.c
+++ b/src/target/arm7_9_common.c
@@ -913,8 +913,9 @@ int arm7_9_poll(target_t *target)
/* LOG_DEBUG("DBGACK set, dbg_state->value: 0x%x", buf_get_u32(dbg_stat->value, 0, 32));*/
if (target->state == TARGET_UNKNOWN)
{
+ /* Starting OpenOCD with target in debug-halt */
target->state = TARGET_RUNNING;
- LOG_WARNING("DBGACK set while target was in unknown state. Reset or initialize target.");
+ LOG_DEBUG("DBGACK already set during server startup.");
}
if ((target->state == TARGET_RUNNING) || (target->state == TARGET_RESET))
{