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
This commit is contained in:
parent
01000e988a
commit
e921fead94
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue