Index: src/arm/simulator-arm.cc |
diff --git a/src/arm/simulator-arm.cc b/src/arm/simulator-arm.cc |
index 551a57d17971f80338f258732dd39bfc5c2dc988..afe31db95063ec4c214049dbdb52bda4717ecbb7 100644 |
--- a/src/arm/simulator-arm.cc |
+++ b/src/arm/simulator-arm.cc |
@@ -299,8 +299,11 @@ void ArmDebugger::Debug() { |
if (strcmp(arg1, "all") == 0) { |
for (int i = 0; i < kNumRegisters; i++) { |
value = GetRegisterValue(i); |
- PrintF("%3s: 0x%08x %10d", Register::from_code(i).ToString(), |
- value, value); |
+ PrintF( |
+ "%3s: 0x%08x %10d", |
+ RegisterConfiguration::Crankshaft()->GetGeneralRegisterName( |
+ i), |
+ value, value); |
if ((argc == 3 && strcmp(arg2, "fp") == 0) && |
i < 8 && |
(i % 2) == 0) { |