| 12030 | } |
| 12031 | |
| 12032 | int WinDebugger::GetJmpState(int stackFrameIdx) |
| 12033 | { |
| 12034 | AutoCrit autoCrit(mDebugManager->mCritSect); |
| 12035 | |
| 12036 | if (!FixCallStackIdx(stackFrameIdx)) |
| 12037 | return -1; |
| 12038 | |
| 12039 | int actualStackFrameIdx = BF_MAX(0, stackFrameIdx); |
| 12040 | UpdateCallStackMethod(actualStackFrameIdx); |
| 12041 | WdStackFrame* wdStackFrame = mCallStack[actualStackFrameIdx]; |
| 12042 | |
| 12043 | addr_target pcAddress = (addr_target)wdStackFrame->mRegisters.GetPC(); |
| 12044 | |
| 12045 | CPUInst inst; |
| 12046 | if (!mDebugTarget->DecodeInstruction(pcAddress, &inst)) |
| 12047 | return -1; |
| 12048 | |
| 12049 | return inst.GetJmpState(wdStackFrame->mRegisters.mIntRegs.efl); |
| 12050 | } |
| 12051 | |
| 12052 | intptr WinDebugger::GetStackFrameCalleeAddr(int stackFrameIdx) |
| 12053 | { |
nothing calls this directly
no test coverage detected