* write caller address, even if no caller frame was found

git-svn-id: trunk@2897 -
This commit is contained in:
Vincent Snijders 2006-03-12 21:30:06 +00:00
parent 9125d0c189
commit cfcbd77133

View File

@ -775,10 +775,11 @@ Begin
Begin
caller_addr := get_caller_addr(bp);
caller_frame := get_caller_frame(bp);
if (caller_addr=nil) or
(caller_frame=nil) then
if (caller_addr=nil) then
break;
Writeln(f,BackTraceStrFunc(caller_addr));
if (caller_frame=nil) then
break;
Inc(i);
If ((i>max_frame_dump) and is_dev) or (i>256) Then
break;