From d502418e491c00280d374e74c5ccd93a056f751b Mon Sep 17 00:00:00 2001 From: uuuvn <uuuvn@uuuvn.space> Date: Tue, 6 Jun 2023 15:36:30 +0000 Subject: [PATCH] Fix aarch64 --- src/debugger.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/debugger.rs b/src/debugger.rs index 0e137bc2..3dc6fdd2 100644 --- a/src/debugger.rs +++ b/src/debugger.rs @@ -13,7 +13,7 @@ pub unsafe fn debugger(target_id: Option<crate::context::ContextId>) { for (id, context_lock) in crate::context::contexts().iter() { if target_id.map_or(false, |target_id| *id != target_id) { continue; } let context = context_lock.read(); - println!("{}: {}", (*id).into(), context.name.read()); + println!("{}: {}", (*id).into(), context.name); println!("status: {:?}", context.status); if ! context.status_reason.is_empty() { @@ -88,7 +88,7 @@ pub unsafe fn debugger(target_id: Option<crate::context::ContextId>) { for (id, context_lock) in crate::context::contexts().iter() { if target_id.map_or(false, |target_id| *id != target_id) { continue; } let context = context_lock.read(); - println!("{}: {}", (*id).into(), context.name.read()); + println!("{}: {}", (*id).into(), context.name); // Switch to context page table to ensure syscall debug and stack dump will work if let Some(ref space) = context.addr_space { -- GitLab