mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-05 06:23:58 +08:00
... and make it return the *right* value when it goes out of bounds.
This commit is contained in:
@ -69,7 +69,7 @@ nllookup( address )
|
|||||||
printf("[nllookup] %d (%d) probes, fall off\n", probes, nname-1);
|
printf("[nllookup] %d (%d) probes, fall off\n", probes, nname-1);
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
return &nl[middle];
|
return &nl[middle+1];
|
||||||
}
|
}
|
||||||
fprintf( stderr , "[nllookup] binary search fails???\n" );
|
fprintf( stderr , "[nllookup] binary search fails???\n" );
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
Reference in New Issue
Block a user