runtime: remove inaccurate sp on panic

This commit is contained in:
occheung 2021-08-17 11:46:33 +08:00
parent 01e357e5d3
commit 36171f2c61

View File

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