fpdebug: added params to stack (fixed for frames without context)

git-svn-id: trunk@49132 -
This commit is contained in:
martin 2015-05-22 14:48:42 +00:00
parent b5f8f80f55
commit fe30e47f9b

View File

@ -513,6 +513,7 @@ begin
Reg := RegList.FindRegisterByDwarfIndex(16);
if Reg <> nil then begin
AContext := AController.CurrentProcess.DbgInfo.FindContext(CurThreadId, e.Index, Reg.NumValue);
if AContext <> nil then begin
AContext.MemManager.DefaultContext := AContext;
FPrettyPrinter.AddressSize := AContext.SizeOfAddress;
@ -526,6 +527,7 @@ begin
end;
end;
end;
end;
if params <> '' then
params := '(' + params + ')';
e.Init(ThreadCallStack[e.Index].AnAddress, nil,