diff options
author | Mark Eichin <eichin@cygnus> | 1992-07-14 22:33:02 +0000 |
---|---|---|
committer | Mark Eichin <eichin@cygnus> | 1992-07-14 22:33:02 +0000 |
commit | b974fbff9ca9030dd18bbdf71da8d01a6169b0e9 (patch) | |
tree | e022d4a1c6774fa4e59080897385a86115920c6d /gprof | |
parent | 7b8ca0a03f3115de0b56cf84a329620ddc536a4a (diff) | |
download | gdb-b974fbff9ca9030dd18bbdf71da8d01a6169b0e9.zip gdb-b974fbff9ca9030dd18bbdf71da8d01a6169b0e9.tar.gz gdb-b974fbff9ca9030dd18bbdf71da8d01a6169b0e9.tar.bz2 |
leave fencepost condition *completely* open-ended. Closes 1286.
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/lookup.c | 2 |
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); |