aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Eichin <eichin@cygnus>1992-07-14 22:33:02 +0000
committerMark Eichin <eichin@cygnus>1992-07-14 22:33:02 +0000
commitb974fbff9ca9030dd18bbdf71da8d01a6169b0e9 (patch)
treee022d4a1c6774fa4e59080897385a86115920c6d
parent7b8ca0a03f3115de0b56cf84a329620ddc536a4a (diff)
downloadgdb-b974fbff9ca9030dd18bbdf71da8d01a6169b0e9.zip
gdb-b974fbff9ca9030dd18bbdf71da8d01a6169b0e9.tar.gz
gdb-b974fbff9ca9030dd18bbdf71da8d01a6169b0e9.tar.bz2
leave fencepost condition *completely* open-ended. Closes 1286.
-rw-r--r--gprof/lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/lookup.c b/gprof/lookup.c
index 1892101..1478faf 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);