Skip to content

Commit b156294

Browse files
committed
Add TODOs
1 parent 71ef8b4 commit b156294

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/main.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -251,11 +251,13 @@ fn gdb_interact(
251251
MIResponse::AsyncRecord(reason, v) => {
252252
if reason == "stopped" {
253253
debug!("{v:?}");
254+
// TODO: we could cache this, per file opened
254255
if let Some(arch) = v.get("arch") {
255256
debug!("{arch}");
256257
}
257-
// When a breakpoint is hit, query for register values
258+
// TODO: we could cache this, per file opened
258259
next_write.push("-data-list-register-names".to_string());
260+
// When a breakpoint is hit, query for register values
259261
next_write.push("-data-list-register-values x".to_string());
260262
}
261263
}

0 commit comments

Comments
 (0)