Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions src/hyperlight_host/examples/guest-debugging/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ mod tests {
let features = "gdb";

// build it before running to avoid a race condition below
let mut guest_child = Command::new("cargo")
Command::new("cargo")
.arg("build")
.arg("--example")
.arg("guest-debugging")
Expand All @@ -165,6 +165,7 @@ mod tests {
thread::sleep(Duration::from_secs(3));

let mut gdb = Command::new(GDB_COMMAND)
.arg("-nx") // Don't load any .gdbinit files
.arg("--nw")
.arg("--batch")
.arg("-x")
Expand Down Expand Up @@ -261,7 +262,7 @@ mod tests {

set pagination off
set logging file {out_file_path}
set logging on
set logging enabled on

break hyperlight_main
commands
Expand All @@ -273,7 +274,7 @@ mod tests {

continue

set logging off
set logging enabled off
quit
"
);
Expand Down Expand Up @@ -309,7 +310,7 @@ mod tests {

set pagination off
set logging file {out_file_path}
set logging on
set logging enabled on

break main.rs:simpleguest::use_sse2_registers
commands 1
Expand All @@ -325,7 +326,7 @@ mod tests {

continue

set logging off
set logging enabled off
quit
"
);
Expand Down
Loading