aboutsummaryrefslogtreecommitdiff
path: root/gdb/bcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/bcache.c')
-rw-r--r--gdb/bcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/bcache.c b/gdb/bcache.c
index c47893b..ae73c11 100644
--- a/gdb/bcache.c
+++ b/gdb/bcache.c
@@ -91,7 +91,7 @@ bcache (bytes, count, bcachep)
struct hashlink **linkpp;
struct hashlink ***hashtablepp;
- if (count > BCACHE_MAXLENGTH)
+ if (count >= BCACHE_MAXLENGTH)
{
/* Rare enough to just stash unique copies */
location = (void *) obstack_alloc (&bcachep->cache, count);