diff options
Diffstat (limited to 'gdb/m68k-stub.c')
-rw-r--r-- | gdb/m68k-stub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68k-stub.c b/gdb/m68k-stub.c index 54e06b1..4ef4069 100644 --- a/gdb/m68k-stub.c +++ b/gdb/m68k-stub.c @@ -553,7 +553,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 == '$') |