moves handling of problems with resetting into the halted state
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 5 Aug 2008 06:18:26 +0000 (06:18 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 5 Aug 2008 06:18:26 +0000 (06:18 +0000)
commit3a4896182036eb472a06f66be3710d5c228b6748
treeaa1207bc7952af699ead708f5f669fed53a20a47
parente4729b3b7a5cfa30c19da4be7babfc074616fac6
moves handling of problems with resetting into the halted state
into the target implementation.

Also target_process_reset() is now simpler and has error handling,
e.g. if assert reset fails, then target_process_reset() will propagate
that error.

cmd_ctx was passed in to examine(), which is wrong - removed that.

git-svn-id: svn://svn.berlios.de/openocd/trunk@887 b42882b7-edfa-0310-969c-e2dbd0fdcd60
12 files changed:
src/target/arm11.c
src/target/arm11.h
src/target/arm7_9_common.c
src/target/arm7tdmi.c
src/target/arm7tdmi.h
src/target/arm9tdmi.c
src/target/arm9tdmi.h
src/target/cortex_m3.c
src/target/feroceon.c
src/target/mips_m4k.c
src/target/target.c
src/target/target.h