Ignore:
Timestamp:
2012-07-23T20:48:56Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ff166148
Parents:
804d9b6
Message:

arm32: Print opcode when we say it's opcode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/mm/page_fault.c

    r804d9b6 r774c143  
    142142                panic("page_fault - instruction does not access memory "
    143143                    "(instr_code: %#0" PRIx32 ", badvaddr:%p).",
    144                     instr_union.pc, (void *) badvaddr);
     144                    *(uint32_t*)instr_union.instr, (void *) badvaddr);
    145145                return PF_ACCESS_EXEC;
    146146        }
     
    162162        panic("page_fault - instruction doesn't access memory "
    163163            "(instr_code: %#0" PRIx32 ", badvaddr:%p).",
    164             instr_union.pc, (void *) badvaddr);
     164            *(uint32_t*)instr_union.instr, (void *) badvaddr);
    165165
    166166        return PF_ACCESS_EXEC;
Note: See TracChangeset for help on using the changeset viewer.