mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 17:09:10 +02:00
* get_caller_stackinfo: set framebp to nil if addr is nil
git-svn-id: trunk@21708 -
This commit is contained in:
parent
f340ef87e3
commit
48597c64ee
@ -95,6 +95,11 @@ begin
|
|||||||
go back to lower $ra values until we find a
|
go back to lower $ra values until we find a
|
||||||
position with ADDIU $sp,$sp,-LocalSize
|
position with ADDIU $sp,$sp,-LocalSize
|
||||||
}
|
}
|
||||||
|
if addr=nil then
|
||||||
|
begin
|
||||||
|
framebp:=nil;
|
||||||
|
exit;
|
||||||
|
end;
|
||||||
Try
|
Try
|
||||||
current_ra:=addr;
|
current_ra:=addr;
|
||||||
ra_offset:=-1;
|
ra_offset:=-1;
|
||||||
|
Loading…
Reference in New Issue
Block a user