* fixed recording caught exceptions on the exception stack in

FPC_psabi_begin_catchh

git-svn-id: branches/debug_eh@40341 -
This commit is contained in:
Jonas Maebe 2018-11-17 16:21:40 +00:00
parent 4d262e0eca
commit e2664e5c30

View File

@ -836,7 +836,7 @@ function FPC_psabi_begin_catch(exc:PFPC_Unwind_Exception): pointer; cdecl; compi
if _ExceptObjectStack<>ExceptWrapper then if _ExceptObjectStack<>ExceptWrapper then
begin begin
ExceptWrapper^.Next:=_ExceptObjectStack; ExceptWrapper^.Next:=_ExceptObjectStack;
_ExceptObjectStack:=ExceptWrapper; ExceptObjectStack:=ExceptWrapper;
end; end;
result:= ExceptWrapper^.FObject; result:= ExceptWrapper^.FObject;