forked from M-Labs/artiq
1
0
Fork 0

runtime: remove inaccurate sp on panic

This commit is contained in:
occheung 2021-08-17 11:46:33 +08:00
parent 01e357e5d3
commit 36171f2c61
1 changed files with 0 additions and 1 deletions

View File

@ -290,7 +290,6 @@ pub extern fn exception(regs: *const TrapFrame) {
info!("Called interrupt with {:?}", source); info!("Called interrupt with {:?}", source);
}, },
mcause::Trap::Exception(e) => { mcause::Trap::Exception(e) => {
println!("Stack pointer: {:p}", regs);
println!("Trap frame: {:x?}", unsafe { *regs }); println!("Trap frame: {:x?}", unsafe { *regs });
fn hexdump(addr: u32) { fn hexdump(addr: u32) {