Change jtag_add_pathmove to set jtag_error rather than call exit():
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 9 Jun 2009 01:16:35 +0000 (01:16 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 9 Jun 2009 01:16:35 +0000 (01:16 +0000)
commitff85ad7c12a79273db5248d3b121fec3ad6db583
tree7a0a83765a1190dfbdd828eaed78d61c411af297
parent731d2d0cb6a63fd7fc1fa2f43cc92e095508f0ff
Change jtag_add_pathmove to set jtag_error rather than call exit():
- Add new error codes to encode the possible failure conditions.
- Add documentation to describe the routine's possible error codes.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2138 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/jtag/jtag.c
src/jtag/jtag.h