mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 22:09:32 +02:00
* prevent endless stack dump if an exception occured during the dump itself.
git-svn-id: trunk@1427 -
This commit is contained in:
parent
8af13ed6ae
commit
2332eae403
@ -749,6 +749,7 @@ var
|
||||
caller_frame,
|
||||
caller_addr : Pointer;
|
||||
Begin
|
||||
try
|
||||
prevbp:=bp-1;
|
||||
i:=0;
|
||||
is_dev:=do_isdevice(textrec(f).Handle);
|
||||
@ -766,6 +767,9 @@ Begin
|
||||
prevbp:=bp;
|
||||
bp:=caller_frame;
|
||||
End;
|
||||
except
|
||||
{ prevent endless dump if an exception occured }
|
||||
end;
|
||||
End;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user