bp doesnt block
This commit is contained in:
parent
203ddd9780
commit
4a13eb1c15
1 changed files with 2 additions and 5 deletions
|
|
@ -38,15 +38,12 @@ macro_rules! exception_err {
|
||||||
use x86::structures::idt::*;
|
use x86::structures::idt::*;
|
||||||
|
|
||||||
exception!(divide_by_zero, {
|
exception!(divide_by_zero, {
|
||||||
panic!("CPU exception: division by zero");
|
panic!("CPU exception: division by zero")
|
||||||
});
|
});
|
||||||
|
|
||||||
exception!(debug, {});
|
exception!(debug, {});
|
||||||
exception!(non_maskable, {});
|
exception!(non_maskable, {});
|
||||||
exception!(breakpoint, {
|
exception!(breakpoint, {});
|
||||||
println!("breakpoint inner function");
|
|
||||||
flush!();
|
|
||||||
});
|
|
||||||
exception!(overflow, {});
|
exception!(overflow, {});
|
||||||
exception!(bound_range, {});
|
exception!(bound_range, {});
|
||||||
exception!(invalid_opcode, {});
|
exception!(invalid_opcode, {});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue