mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 13:23:00 +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);
|
||||
}
|
||||
# endif
|
||||
return &nl[middle];
|
||||
return &nl[middle+1];
|
||||
}
|
||||
fprintf( stderr , "[nllookup] binary search fails???\n" );
|
||||
#ifdef DEBUG
|
||||
|
Reference in New Issue
Block a user