Skip to content
Open
17 changes: 17 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ members = [
"humility-core",
"humility-doppel",
"humility-dump-agent",
"humility-dump",
"humility-flash",
"humility-hexdump",
"humility-hiffy",
Expand Down Expand Up @@ -134,6 +135,7 @@ humility-caboose = { path = "./humility-caboose" }
humility-cli = { path = "./humility-cli", default-features = false }
humility-doppel = { path = "./humility-doppel" }
humility-dump-agent = { path = "./humility-dump-agent" }
humility-dump = { path = "./humility-dump" }
humility-flash = { path = "./humility-flash" }
humility-hexdump = { path = "./humility-hexdump" }
humility-hiffy = { path = "./humility-hiffy" }
Expand Down
1 change: 1 addition & 0 deletions cmd/diagnose/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ humility.workspace = true
humility-cli.workspace = true
humility-doppel.workspace = true
humility-jefe.workspace = true
humility-dump.workspace = true
7 changes: 6 additions & 1 deletion cmd/diagnose/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,12 @@ fn diagnose(

if !subargs.no_dump {
section("Generating Coredump");
let rval = hubris.dump(core, None, None, None, context.log());

let (filename, mut file) =
humility_dump::open_dump_file(hubris, None, None)?;
println!("dumping to {filename:?}");

let rval = hubris.dump(core, None, &mut file, None, context.log());

if let Err(e) = rval {
println!("Coredump failed: {}", e);
Expand Down
1 change: 1 addition & 0 deletions cmd/dump/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ humility.workspace = true
humility-cli.workspace = true
humility-dump-agent.workspace = true
humility-arch-arm.workspace = true
humility-dump.workspace = true
Loading
Loading