Ignore calls whose purpose is to calculate the GOT address.

- Fixes several false positives where we'd show a return value for the
  current function.
This commit is contained in:
Rene Gollent 2013-03-29 22:32:22 -04:00
parent d5c2d47e5d
commit 88e692e89f

View File

@ -589,7 +589,8 @@ ThreadHandler::_HandleBreakpointHitStep(CpuState* cpuState)
}
}
if (fPreviousFrameAddress != 0) {
if (fPreviousFrameAddress != 0 && fSteppedOverFunctionAddress
!= cpuState->InstructionPointer()) {
TRACE_CONTROL("STEP_OVER: called function address %#" B_PRIx64
", previous frame address: %#" B_PRIx64 ", frame address: %#"
B_PRIx64 ", adding return info\n", fSteppedOverFunctionAddress,