mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 09:23:25 +00:00
Re-implement OSDK debugging fixes and other facilities upon the refactor
This commit bring back the features introduced fromd28292c
toa52e432
: - Disable KVM when using GDB; - Update docs about the GDB server address; - Add `config` option for `CargoArgs` in OSDK; - Ensure debug info added when debugging in the release profile.
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
f9ac2ee498
commit
56175f63df
@ -15,7 +15,7 @@ pub fn cargo() -> Command {
|
||||
Command::new("cargo")
|
||||
}
|
||||
|
||||
pub fn profile_adapter(profile: &str) -> &str {
|
||||
pub fn profile_name_adapter(profile: &str) -> &str {
|
||||
match profile {
|
||||
"dev" => "debug",
|
||||
_ => profile,
|
||||
|
Reference in New Issue
Block a user