Commit in reactos/ntoskrnl/dbg on ros-branch-0_2_5
kdb_stabs.c+1-41.19 -> 1.19.2.1
blasted sym files just aren't always in address-order, must search entire sym file to find correct function for our offset.

reactos/ntoskrnl/dbg
kdb_stabs.c 1.19 -> 1.19.2.1
diff -u -r1.19 -r1.19.2.1
--- kdb_stabs.c	17 Dec 2004 17:51:56 -0000	1.19
+++ kdb_stabs.c	22 Dec 2004 03:02:53 -0000	1.19.2.1
@@ -84,7 +84,7 @@
     for (; (ULONG_PTR)StabEntry < (ULONG_PTR)StabsEnd; StabEntry++)
     {
       ULONG_PTR SymbolRelativeAddress;
-    
+
       if (StabEntry->n_type != Type)
         continue;
 
@@ -93,9 +93,6 @@
         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))
CVSspam 0.2.8