LEON3: spurious trap handler print out trap in hex instead

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
This commit is contained in:
Daniel Hellstrom
2012-02-06 15:15:47 +01:00
committed by Gedare Bloom
parent 80d01b3cf8
commit b4dfce9b7a

View File

@@ -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) {