FPGDBMIDebugger: fixed bin search

git-svn-id: trunk@44221 -
This commit is contained in:
martin 2014-02-24 05:32:02 +00:00
parent 6553f2bb5e
commit 889678aa8e

View File

@ -6886,7 +6886,7 @@ begin
else h := m - 1;
end;
Result := TDwarfCompilationUnit(FCompilationUnits[m]);
Result := TDwarfCompilationUnit(FCompilationUnits[h]);
if (p < Result.FInfoData) or (p > Result.FInfoData + Result.FLength) then
Result := nil;
end;