Skip to content

Commit cb563d7

Browse files
committed
Fix constant
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent c9bf37f commit cb563d7

File tree

3 files changed

+6
-527
lines changed

3 files changed

+6
-527
lines changed

src/hyperlight_host/src/hypervisor/gdb/arch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ use crate::Result;
2424
// Described in Table 6-1. Exceptions and Interrupts at Page 6-13 Vol. 1
2525
// of Intel 64 and IA-32 Architectures Software Developer's Manual
2626
/// Exception id for #DB
27-
const DB_EX_ID: u32 = 1;
27+
pub(crate) const DB_EX_ID: u32 = 1;
2828
/// Exception id for #BP - triggered by the INT3 instruction
29-
const BP_EX_ID: u32 = 3;
29+
pub(crate) const BP_EX_ID: u32 = 3;
3030

3131
/// Software Breakpoint size in memory
3232
pub(crate) const SW_BP_SIZE: usize = 1;

0 commit comments

Comments
 (0)