diff --git a/src/apps/debugger/arch/Architecture.cpp b/src/apps/debugger/arch/Architecture.cpp index c58be0e645..5fc769a4ca 100644 --- a/src/apps/debugger/arch/Architecture.cpp +++ b/src/apps/debugger/arch/Architecture.cpp @@ -116,7 +116,7 @@ Architecture::CreateStackTrace(Team* team, // attempt to continue building it from where it left off. if (stackTrace->CountFrames() > 0) { nextFrame = stackTrace->FrameAt(stackTrace->CountFrames() - 1); - cpuState = nextFrame->GetPreviousCpuState(); + cpuState = nextFrame->PreviousCpuState(); } while (cpuState != NULL) { diff --git a/src/apps/debugger/model/StackFrame.h b/src/apps/debugger/model/StackFrame.h index 0e30d53a13..69a1227972 100644 --- a/src/apps/debugger/model/StackFrame.h +++ b/src/apps/debugger/model/StackFrame.h @@ -55,7 +55,7 @@ public: target_addr_t InstructionPointer() const { return fInstructionPointer; } - CpuState* GetPreviousCpuState() const + CpuState* PreviousCpuState() const { return fPreviousCpuState; } void SetPreviousCpuState(CpuState* state);