[rtems commit] arm: Fix inconsistent define usage

Sebastian Huber sebh at rtems.org
Fri Sep 6 08:00:44 UTC 2013


Module:    rtems
Branch:    master
Commit:    784d2a1cc912211f530a6dcef60147a6c62f2a75
Changeset: http://git.rtems.org/rtems/commit/?id=784d2a1cc912211f530a6dcef60147a6c62f2a75

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Sep  6 10:05:35 2013 +0200

arm: Fix inconsistent define usage

---

 cpukit/score/cpu/arm/arm-exception-frame-print.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/cpukit/score/cpu/arm/arm-exception-frame-print.c b/cpukit/score/cpu/arm/arm-exception-frame-print.c
index 391e2ff..c21c9dc 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,




More information about the vc mailing list