mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed step out in disassembly
This commit is contained in:
parent
07fd22f9e0
commit
ace51cb7be
5 changed files with 16 additions and 84 deletions
|
@ -4324,6 +4324,8 @@ bool WinDebugger::SetupStep(StepType stepType)
|
|||
CPUInst inst;
|
||||
while (true)
|
||||
{
|
||||
if (mStepInAssembly)
|
||||
break;
|
||||
if (!mDebugTarget->DecodeInstruction(pcAddress, &inst))
|
||||
break;
|
||||
if ((inst.IsBranch()) || (inst.IsCall()) || (inst.IsReturn()))
|
||||
|
@ -4331,7 +4333,7 @@ bool WinDebugger::SetupStep(StepType stepType)
|
|||
#ifdef BF_DBG_32
|
||||
if (!inst.StackAdjust(mStepSP))
|
||||
break;
|
||||
#endif
|
||||
#endif
|
||||
DbgSubprogram* checkSubprogram = NULL;
|
||||
auto checkLineData = FindLineDataAtAddress(pcAddress, &checkSubprogram, NULL, NULL, DbgOnDemandKind_LocalOnly);
|
||||
if (checkLineData == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue