From 784d2a1cc912211f530a6dcef60147a6c62f2a75 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 6 Sep 2013 10:05:35 +0200 Subject: arm: Fix inconsistent define usage --- cpukit/score/cpu/arm/arm-exception-frame-print.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/arm/arm-exception-frame-print.c') diff --git a/cpukit/score/cpu/arm/arm-exception-frame-print.c b/cpukit/score/cpu/arm/arm-exception-frame-print.c index 391e2ffd97..c21c9dcf10 100644 --- a/cpukit/score/cpu/arm/arm-exception-frame-print.c +++ b/cpukit/score/cpu/arm/arm-exception-frame-print.c @@ -55,10 +55,11 @@ void _CPU_Exception_frame_print( const CPU_Exception_frame *frame ) "R6 = 0x%08x LR = 0x%08x\n" "R7 = 0x%08x PC = 0x%08x\n" #if defined(ARM_MULTILIB_ARCH_V4) - "CPSR = 0x%08x VEC = 0x%08x\n", + "CPSR = 0x%08x " #elif defined(ARM_MULTILIB_ARCH_V7M) - "XPSR = 0x%08x VEC = 0x%08x\n", + "XPSR = 0x%08x " #endif + "VEC = 0x%08x\n", frame->register_r0, frame->register_r8, frame->register_r1, -- cgit v1.2.3