debugger: initialized loop var (noticed by Yuri)

git-svn-id: trunk@11296 -
This commit is contained in:
vincents 2007-06-07 17:14:33 +00:00
parent 2a4f00b5ec
commit 1c6e5c3ba5

View File

@ -2643,6 +2643,7 @@ begin
Trying to find out how many...
We try maximum 40 frames, because sometimes a corrupt stack and a bug in
gdb may cooperate, so that -stack-info-depth X returns always X }
i:=0;
repeat
inc(i);
TGDBMIDebugger(Debugger).ExecuteCommand('-stack-info-depth ' + IntToStr(i),