diff options
Diffstat (limited to 'gdb/sparc-stub.c')
-rw-r--r-- | gdb/sparc-stub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-stub.c b/gdb/sparc-stub.c index 1e6298a..c12d436 100644 --- a/gdb/sparc-stub.c +++ b/gdb/sparc-stub.c @@ -306,7 +306,7 @@ retry: count = 0; /* now, read until a # or end of buffer is found */ - while (count < BUFMAX) + while (count < BUFMAX - 1) { ch = getDebugChar (); if (ch == '$') |