summaryrefslogtreecommitdiff
path: root/arch/avr32/cpu/exception.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-09-08 00:48:27 +0200
committerWolfgang Denk <wd@denx.de>2010-09-08 00:48:27 +0200
commitf8736c2125f5bbbe7507e59c7b2c44ec17196aa3 (patch)
tree5c8fd133791edae0cd61f7ee1b1b042697251a27 /arch/avr32/cpu/exception.c
parentcf64fda38e3d71e9077e11c673bd9be449c680da (diff)
parent1f36f73fe70560a2bd286a7abc8530fdc93af9ae (diff)
Merge branch 'avr32' of git://git.denx.de/u-boot-atmel
Diffstat (limited to 'arch/avr32/cpu/exception.c')
-rw-r--r--arch/avr32/cpu/exception.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/avr32/cpu/exception.c b/arch/avr32/cpu/exception.c
index dc9c3002a49..b21ef1f928d 100644
--- a/arch/avr32/cpu/exception.c
+++ b/arch/avr32/cpu/exception.c
@@ -59,7 +59,8 @@ void do_unknown_exception(unsigned int ecr, struct pt_regs *regs)
{
unsigned int mode;
- printf("\n *** Unhandled exception %u at PC=0x%08lx\n", ecr, regs->pc);
+ printf("\n *** Unhandled exception %u at PC=0x%08lx [%08lx]\n",
+ ecr, regs->pc, regs->pc - gd->reloc_off);
switch (ecr) {
case ECR_BUS_ERROR_WRITE: