bp doesnt block

This commit is contained in:
Jack Halford 2018-04-17 12:28:04 +02:00
parent 203ddd9780
commit 4a13eb1c15

View file

@ -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, {});