mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 17:33:23 +00:00
OSDK GDB server args with QEMU-style options
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
43e3f8cf6b
commit
ab8b6afee5
@ -18,10 +18,9 @@ pub fn execute_debug_command(_profile: &str, args: &DebugArgs) {
|
||||
|
||||
let mut gdb = Command::new("gdb");
|
||||
gdb.args([
|
||||
format!("{}", file_path.display()).as_str(),
|
||||
"-ex",
|
||||
format!("target remote {}", remote).as_str(),
|
||||
"-ex",
|
||||
format!("file {}", file_path.display()).as_str(),
|
||||
]);
|
||||
gdb.status().unwrap();
|
||||
}
|
||||
|
Reference in New Issue
Block a user