[PATCH 14] LEON3: spurious trap handler print out trap in hex instead
Daniel Hellstrom
daniel at gaisler.com
Mon Feb 6 14:15:47 UTC 2012
Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>
---
c/src/lib/libbsp/sparc/leon3/startup/spurious.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/spurious.c b/c/src/lib/libbsp/sparc/leon3/startup/spurious.c
index 98e04ab..a0e11c4 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/spurious.c
+++ b/c/src/lib/libbsp/sparc/leon3/startup/spurious.c
@@ -38,7 +38,7 @@ rtems_isr bsp_spurious_handler(
real_trap = SPARC_REAL_TRAP_NUMBER(trap);
- printk( "Unexpected trap (%2d) at address 0x%08x\n", real_trap, isf->tpc);
+ printk( "Unexpected trap (0x%02x) at address 0x%08x\n", real_trap, isf->tpc);
switch (real_trap) {
--
1.7.0.4
More information about the devel
mailing list