mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 09:23:25 +00:00
Disable KVM when using GDB
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
4f575e2028
commit
a52e43218e
@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
use crate::commands::util::{bin_file_name, profile_adapter};
|
||||
use crate::commands::util::{bin_file_name, profile_name_adapter};
|
||||
use crate::config_manager::DebugConfig;
|
||||
|
||||
use crate::util::get_target_directory;
|
||||
@ -9,7 +9,7 @@ use std::process::Command;
|
||||
pub fn execute_debug_command(config: &DebugConfig) {
|
||||
let DebugConfig { cargo_args, remote } = config;
|
||||
|
||||
let profile = profile_adapter(&cargo_args.profile);
|
||||
let profile = profile_name_adapter(&cargo_args.profile);
|
||||
let file_path = get_target_directory()
|
||||
.join("x86_64-unknown-none")
|
||||
.join(profile)
|
||||
|
Reference in New Issue
Block a user