Debugger GDBMI: Fix thread context for finding correct frame

git-svn-id: trunk@60273 -
This commit is contained in:
martin 2019-02-01 22:51:44 +00:00
parent 5692512684
commit 54f21f7efa

View File

@ -6168,8 +6168,8 @@ begin
if Reason = 'end-stepping-range'
then begin
SetDebuggerState(dsPause);
ProcessFrame(List.Values['frame'], False);
SetDebuggerState(dsPause);
ProcessFrame(List.Values['frame'], False);
Exit;
end;
@ -10974,6 +10974,7 @@ begin
List := TGDBMINameValueList.Create('');
try
CurContext := FContext;
FContext.ThreadContext := ccUseGlobal;
FContext.StackContext := ccUseLocal;
repeat
FContext.StackFrame := Result;