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:
@@ -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
|
TRACE_CONTROL("STEP_OVER: called function address %#" B_PRIx64
|
||||||
", previous frame address: %#" B_PRIx64 ", frame address: %#"
|
", previous frame address: %#" B_PRIx64 ", frame address: %#"
|
||||||
B_PRIx64 ", adding return info\n", fSteppedOverFunctionAddress,
|
B_PRIx64 ", adding return info\n", fSteppedOverFunctionAddress,
|
||||||
|
|||||||
Reference in New Issue
Block a user