From 74f3086c334e581d59eb9dc2fb2460996d794865 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Fri, 9 May 2025 14:01:54 -0400 Subject: [Rust] Add `CoreRegister` name to the `Debug` impl --- rust/src/architecture.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'rust/src') diff --git a/rust/src/architecture.rs b/rust/src/architecture.rs index 5ec63eef..211446d1 100644 --- a/rust/src/architecture.rs +++ b/rust/src/architecture.rs @@ -863,6 +863,7 @@ impl Debug for CoreRegister { fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { f.debug_struct("CoreRegister") .field("id", &self.id) + .field("name", &self.name()) .finish() } } -- cgit v1.3.1