4.56 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.
Related concepts
4.53 Integer division-by-zero errors in C code
4.54 About trapping integer division-by-zero errors with __aeabi_idiv0()
4.55 About trapping integer division-by-zero errors with __rt_raise()
4.57 Examining parameters when integer division-by-zero errors occur in C code
Related information
Run-time ABI for the ARM Architecture
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.