Skip to content

Commit 025d5f3

Browse files
committed
Add CoreRegister name to the Debug impl
1 parent 33ad7a4 commit 025d5f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/src/architecture.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@ impl Debug for CoreRegister {
863863
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
864864
f.debug_struct("CoreRegister")
865865
.field("id", &self.id)
866+
.field("name", &self.name())
866867
.finish()
867868
}
868869
}

0 commit comments

Comments
 (0)