diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-08-26 19:24:45 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-08-26 19:24:45 +0000 |
commit | e921fead9499a44b6304904d92823702dc1e3808 (patch) | |
tree | e8608c62624fc9355392da30e62ffd881c581b5e /src | |
parent | 01000e988aecac6b96747f9bd8ba80dc67296c0d (diff) | |
download | openocd+libswd-e921fead9499a44b6304904d92823702dc1e3808.tar.gz openocd+libswd-e921fead9499a44b6304904d92823702dc1e3808.tar.bz2 openocd+libswd-e921fead9499a44b6304904d92823702dc1e3808.tar.xz openocd+libswd-e921fead9499a44b6304904d92823702dc1e3808.zip |
Matt Hsu <matt@0xlab.org> and Holger Hans Peter Freyther <zecke@selfish.org> Print the value that the method didn't like
git-svn-id: svn://svn.berlios.de/openocd/trunk@2637 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/target/armv7a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/armv7a.h b/src/target/armv7a.h index d92e5bca..12b66254 100644 --- a/src/target/armv7a.h +++ b/src/target/armv7a.h @@ -148,7 +148,7 @@ static inline int armv7a_mode_to_number(enum armv7a_mode mode) case ARMV7A_MODE_MON: return 7; break; case ARMV7A_MODE_ANY: return 0; break; /* map MODE_ANY to user mode */ default: - LOG_ERROR("invalid mode value encountered"); + LOG_ERROR("invalid mode value encountered, val %d", mode); return -1; } } |