diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-07-06 14:58:13 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-07-06 14:58:13 +0000 |
commit | 6128c515db373bdb583fd4b28162de7f84041865 (patch) | |
tree | d455ddf34325bcf315525fda2844135a7c125d5d /src | |
parent | d5e183c31f3e6f95f41dd72ac530e1c3dc5adc11 (diff) | |
download | openocd_libswd-6128c515db373bdb583fd4b28162de7f84041865.tar.gz openocd_libswd-6128c515db373bdb583fd4b28162de7f84041865.tar.bz2 openocd_libswd-6128c515db373bdb583fd4b28162de7f84041865.tar.xz openocd_libswd-6128c515db373bdb583fd4b28162de7f84041865.zip |
a bit more debug output for translation of invalid mode numbers
git-svn-id: svn://svn.berlios.de/openocd/trunk@2480 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-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 8e9710a8..fd6c08c8 100644 --- a/src/target/armv4_5.h +++ b/src/target/armv4_5.h @@ -114,7 +114,7 @@ static __inline int armv4_5_mode_to_number(enum armv4_5_mode mode) case ARMV4_5_MODE_SYS: return 6; break; case ARMV4_5_MODE_ANY: return 0; break; /* map MODE_ANY to user mode */ default: - LOG_ERROR("invalid mode value encountered"); + LOG_ERROR("invalid mode value encountered %d", mode); return -1; } } |