Index: src/arm/simulator-arm.cc |
diff --git a/src/arm/simulator-arm.cc b/src/arm/simulator-arm.cc |
index 5da6204050b926f056d06b8dd576a3ff9514eec3..716e804e3a37986d72eab2ea1a98695d8c306817 100644 |
--- a/src/arm/simulator-arm.cc |
+++ b/src/arm/simulator-arm.cc |
@@ -298,7 +298,8 @@ void ArmDebugger::Debug() { |
if (strcmp(arg1, "all") == 0) { |
for (int i = 0; i < kNumRegisters; i++) { |
value = GetRegisterValue(i); |
- PrintF("%3s: 0x%08x %10d", Registers::Name(i), value, value); |
+ PrintF("%3s: 0x%08x %10d", Register::from_code(i).ToString(), |
+ value, value); |
if ((argc == 3 && strcmp(arg2, "fp") == 0) && |
i < 8 && |
(i % 2) == 0) { |