From: Mark Eichin Date: Tue, 14 Jul 1992 22:33:02 +0000 (+0000) Subject: leave fencepost condition *completely* open-ended. Closes 1286. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b974fbff9ca9030dd18bbdf71da8d01a6169b0e9;p=binutils-gdb.git leave fencepost condition *completely* open-ended. Closes 1286. --- diff --git a/gprof/lookup.c b/gprof/lookup.c index 1892101f0ac..1478faf6455 100644 --- a/gprof/lookup.c +++ b/gprof/lookup.c @@ -63,7 +63,7 @@ nllookup( address ) low = middle + 1; } } - if(nl[middle+1].value == address) { + if(nl[middle+1].value <= address) { # ifdef DEBUG if (debug & LOOKUPDEBUG ) { printf("[nllookup] %d (%d) probes, fall off\n", probes, nname-1);