blasted sym files just aren't always in address-order, must search entire sym file to find correct function for our offset.

svn path=/trunk/; revision=12270
This commit is contained in:
Royce Mitchell III 2004-12-21 04:32:11 +00:00
parent 73df8e0872
commit d56daebd24

View file

@ -93,9 +93,6 @@ KdbpStabFindEntry(IN PIMAGE_SYMBOL_INFO SymbolInfo,
if (StabEntry->n_value >= SymbolInfo->ImageSize)
continue;
if (StabEntry->n_value > (ULONG_PTR)RelativeAddress )
break;
SymbolRelativeAddress = StabEntry->n_value;
if ((SymbolRelativeAddress <= (ULONG_PTR)RelativeAddress) &&
(SymbolRelativeAddress > AddrFound))