浏览代码

* get_caller_stackinfo: set framebp to nil if addr is nil

git-svn-id: trunk@21708 -
pierre 13 年之前
父节点
当前提交
48597c64ee
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      rtl/mips/mips.inc

+ 5 - 0
rtl/mips/mips.inc

@@ -95,6 +95,11 @@ begin
     go back to lower $ra values until we find a
     position with ADDIU $sp,$sp,-LocalSize
   }
+  if addr=nil then
+    begin
+	  framebp:=nil;
+	  exit;
+	end;
   Try
     current_ra:=addr;
     ra_offset:=-1;