avr32: Print unrelocated PC on exception
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Thu, 12 Aug 2010 06:52:52 +0000 (13:52 +0700)
committerReinhard Meyer <u-boot@emk-elektronik.de>
Fri, 3 Sep 2010 13:12:42 +0000 (15:12 +0200)
commit8d1334a7877662c5b13205b399840196c7fa0aa4
tree8c55490a60dd485a53b8e3056795e3eeb874a3bc
parentbd2313078114c4b44c4a5ce149af43bcb7fc8854
avr32: Print unrelocated PC on exception

In addition to the real PC value, also print the value of PC after
subtracting the relocation offset. This value will match the address in
the ELF file so it's much easier to figure out where things went wrong.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
arch/avr32/cpu/exception.c