more debug output for translation of arm mode number to enum

git-svn-id: svn://svn.berlios.de/openocd/trunk@2481 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
oharboe 2009-07-06 15:04:20 +00:00
parent 6128c515db
commit 26b60a6ade
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ static __inline enum armv4_5_mode armv4_5_number_to_mode(int number)
case 5: return ARMV4_5_MODE_UND; break; case 5: return ARMV4_5_MODE_UND; break;
case 6: return ARMV4_5_MODE_SYS; break; case 6: return ARMV4_5_MODE_SYS; break;
default: default:
LOG_ERROR("mode index out of bounds"); LOG_ERROR("mode index out of bounds %d", number);
return ARMV4_5_MODE_ANY; return ARMV4_5_MODE_ANY;
} }
}; };