runtime: remove inaccurate sp on panic

pull/1745/head
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);
},
mcause::Trap::Exception(e) => {
println!("Stack pointer: {:p}", regs);
println!("Trap frame: {:x?}", unsafe { *regs });
fn hexdump(addr: u32) {