From: oharboe Date: Wed, 26 Aug 2009 19:24:45 +0000 (+0000) Subject: Matt Hsu and Holger Hans Peter Freyther Print... X-Git-Tag: v0.3.0-rc0~314 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e921fead9499a44b6304904d92823702dc1e3808;p=openocd Matt Hsu and Holger Hans Peter Freyther Print the value that the method didn't like git-svn-id: svn://svn.berlios.de/openocd/trunk@2637 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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; } }