]> git.sur5r.net Git - openocd/commit
target: print reason why GDB halts
authorØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 21 Jan 2010 09:16:42 +0000 (10:16 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 21 Jan 2010 15:20:58 +0000 (16:20 +0100)
commit98f7c2127b8800e2597493eea2c7ba5c88940b86
tree213370029349cbd4c7cb5fb75784b26e6fbe1ecc
parentdfba7fa949ae12089aa02dab557a46520c816d28
target: print reason why GDB halts

If GDB halts unexpectedly, print reason: srst assert or power
out detected.

If polling fails, then things are a bit trickier. We do not
want to spam telnet or the log with polling failed messages.
Leave that case be w/a comment in a code for now.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/target/target.c