diff options
author | Stan Shebs <shebs@codesourcery.com> | 1996-01-09 00:37:35 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1996-01-09 00:37:35 +0000 |
commit | 1f2337586059fdc512ffd2b4145f11f454bb663f (patch) | |
tree | 4066601a1ee3cac6d0e2108678b021dfdbff6058 /gdb/ser-mac.c | |
parent | 3d015864852399a6a09457345b76a241072e78a8 (diff) | |
download | gdb-1f2337586059fdc512ffd2b4145f11f454bb663f.zip gdb-1f2337586059fdc512ffd2b4145f11f454bb663f.tar.gz gdb-1f2337586059fdc512ffd2b4145f11f454bb663f.tar.bz2 |
* remote-mips.c (mips_receive_header): Recognize \012 instead
of \n, but write \n when program sends a \012.
* ser-mac.c (mac_input_buffer): Increase size of buffer.
Diffstat (limited to 'gdb/ser-mac.c')
-rw-r--r-- | gdb/ser-mac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ser-mac.c b/gdb/ser-mac.c index ceaf35f..e27a9dd 100644 --- a/gdb/ser-mac.c +++ b/gdb/ser-mac.c @@ -60,7 +60,7 @@ mac_open (scb, name) /* Alloc buffer space first - that way any allocation failures are intercepted before the serial driver gets involved. */ if (mac_input_buffer == NULL) - mac_input_buffer = (char *) xmalloc (256); + mac_input_buffer = (char *) xmalloc (4096); /* Match on a name and open a port. */ if (strcmp (name, "modem") == 0) { @@ -101,7 +101,7 @@ mac_open (scb, name) } /* We got something open. */ if (1 /* using custom buffer */) - SerSetBuf (input_refnum, mac_input_buffer, 256); + SerSetBuf (input_refnum, mac_input_buffer, 4096); /* Set to a GDB-preferred state. */ SerReset (input_refnum, stop10|noParity|data8|baud9600); SerReset (output_refnum, stop10|noParity|data8|baud9600); |