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