From: Lothar Waßmann Date: Tue, 18 Feb 2014 12:44:56 +0000 (+0100) Subject: arm: print unrelocated PC value for easier reference to object code X-Git-Tag: KARO-TX6-2014-03-07~16^2~1 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=4b505f61cc5f16892f927923218a0b44e0fecd73 arm: print unrelocated PC value for easier reference to object code --- diff --git a/arch/arm/lib/interrupts.c b/arch/arm/lib/interrupts.c index 849a37a490..787dceb93d 100644 --- a/arch/arm/lib/interrupts.c +++ b/arch/arm/lib/interrupts.c @@ -107,11 +107,12 @@ void show_regs (struct pt_regs *regs) "UK12_32", "UK13_32", "UK14_32", "SYS_32", }; - flags = condition_codes (regs); + flags = condition_codes(regs); - printf ("pc : [<%08lx>] lr : [<%08lx>]\n" + printf ("pc : [<%08lx>] (pre-reloc: [<%08lx>]) lr : [<%08lx>]\n" "sp : %08lx ip : %08lx fp : %08lx\n", - instruction_pointer (regs), + instruction_pointer(regs), + instruction_pointer(regs) - gd->reloc_off, regs->ARM_lr, regs->ARM_sp, regs->ARM_ip, regs->ARM_fp); printf ("r10: %08lx r9 : %08lx r8 : %08lx\n", regs->ARM_r10, regs->ARM_r9, regs->ARM_r8);