Identification of integer division-by-zero errors in C code

On entry into __aeabi_idiv0(), the link register LR contains the address of the instruction after the call to the __aeabi_uidiv() division routine in your application code. The offending line in the source code can be identified by looking up the line of C code in the debugger at the address given by LR.

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0472E
Non-ConfidentialID071611