diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-07-06 15:04:20 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-07-06 15:04:20 +0000 |
commit | 26b60a6ade45d048a9bfc70ff5d7ee58d4197f9d (patch) | |
tree | 9fd2acbd6540de9d3b8289020db3b8467f33ca6e | |
parent | 6128c515db373bdb583fd4b28162de7f84041865 (diff) | |
download | riscv-openocd-26b60a6ade45d048a9bfc70ff5d7ee58d4197f9d.zip riscv-openocd-26b60a6ade45d048a9bfc70ff5d7ee58d4197f9d.tar.gz riscv-openocd-26b60a6ade45d048a9bfc70ff5d7ee58d4197f9d.tar.bz2 |
more debug output for translation of arm mode number to enum
git-svn-id: svn://svn.berlios.de/openocd/trunk@2481 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/target/armv4_5.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/armv4_5.h b/src/target/armv4_5.h index fd6c08c..aed3a48 100644 --- a/src/target/armv4_5.h +++ b/src/target/armv4_5.h @@ -132,7 +132,7 @@ static __inline enum armv4_5_mode armv4_5_number_to_mode(int number) case 5: return ARMV4_5_MODE_UND; break; case 6: return ARMV4_5_MODE_SYS; break; default: - LOG_ERROR("mode index out of bounds"); + LOG_ERROR("mode index out of bounds %d", number); return ARMV4_5_MODE_ANY; } }; |