Skip to content
Snippets Groups Projects
Commit e921fead authored by oharboe's avatar oharboe
Browse files

Matt Hsu <matt@0xlab.org> and Holger Hans Peter Freyther <zecke@selfish.org> ...

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
parent 01000e98
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment