Explorar el Código

* get_caller_stackinfo: set framebp to nil if addr is nil

git-svn-id: trunk@21708 -
pierre hace 13 años
padre
commit
48597c64ee
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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;