mirror of https://github.com/m-labs/artiq.git
runtime: remove inaccurate sp on panic
This commit is contained in:
parent
01e357e5d3
commit
36171f2c61
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue