fix mode output when illegal arm mode is detected. Now prints illegal mode for index -1.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 19 May 2008 12:39:06 +0000 (12:39 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 19 May 2008 12:39:06 +0000 (12:39 +0000)
commit454b0a65e6addf87c12da37bb4121d330aec262c
tree6574a165dd8456c450b1e0d531055b53d198e997
parent552244724c5a88fb1a9d47750450fbfa3d9badba
fix mode output when illegal arm mode is detected. Now prints illegal mode for index -1.

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