From 06e950328a1232cfb4ea06d46b04d8b38624870f Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 4 May 2013 21:26:11 +0000 Subject: [PATCH] Make a debugging printf a little more useful. --- sys/arm/arm/trap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arm/arm/trap.c b/sys/arm/arm/trap.c index bdc4ccc2e0c5..1b22c83d0885 100644 --- a/sys/arm/arm/trap.c +++ b/sys/arm/arm/trap.c @@ -240,8 +240,8 @@ data_abort_handler(trapframe_t *tf) far = cpu_faultaddress(); fsr = cpu_faultstatus(); #if 0 - printf("data abort: %p (from %p %p)\n", (void*)far, (void*)tf->tf_pc, - (void*)tf->tf_svc_lr); + printf("data abort: fault address=%p (from pc=%p lr=%p)\n", + (void*)far, (void*)tf->tf_pc, (void*)tf->tf_svc_lr); #endif /* Update vmmeter statistics */