summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2020-11-18 16:36:38 -0600
committerJoel Sherrill <joel@rtems.org>2020-11-24 08:01:16 -0600
commit0f5f42619b5c5172c9f0ad6bc10d73d6b7c7e1ca (patch)
tree95c0d06a46170dec015a98398343e8131714280e
parentwscript: Apply test state expectations correctly (diff)
downloadrtems-0f5f42619b5c5172c9f0ad6bc10d73d6b7c7e1ca.tar.bz2
score/aarch64: Resolve warning in exception dump
This resolves a warning in the exception frame dump for AArch64 relating to a missized printf format specifier.
-rw-r--r--cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c b/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c
index cd919c3214..59b5d06032 100644
--- a/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c
+++ b/cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c
@@ -65,7 +65,7 @@ void _CPU_Exception_frame_print( const CPU_Exception_frame *frame )
"X11 = 0x%016" PRIx64 " X28 = 0x%016" PRIx64 "\n"
"X12 = 0x%016" PRIx64 " FP = 0x%016" PRIx64 "\n"
"X13 = 0x%016" PRIx64 " LR = 0x%016" PRIxPTR "\n"
- "X14 = 0x%016" PRIx64 " SP = 0x%016" PRIx64 "\n"
+ "X14 = 0x%016" PRIx64 " SP = 0x%016" PRIxPTR "\n"
"X15 = 0x%016" PRIx64 " PC = 0x%016" PRIxPTR "\n"
"X16 = 0x%016" PRIx64 " DAIF = 0x%016" PRIx64 "\n"
"VEC = 0x%016" PRIxPTR " CPSR = 0x%016" PRIx64 "\n"
@@ -84,7 +84,7 @@ void _CPU_Exception_frame_print( const CPU_Exception_frame *frame )
frame->register_x11, frame->register_x28,
frame->register_x12, frame->register_fp,
frame->register_x13, (intptr_t)frame->register_lr,
- frame->register_x14, frame->register_sp,
+ frame->register_x14, (intptr_t)frame->register_sp,
frame->register_x15, (intptr_t)frame->register_pc,
frame->register_x16, frame->register_daif,
(intptr_t) frame->vector, frame->register_cpsr,