aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorMichael Tiemann <tiemann@cygnus>1992-03-03 23:26:26 +0000
committerMichael Tiemann <tiemann@cygnus>1992-03-03 23:26:26 +0000
commitd747e0af3d41f19815ab972f6fc9527fbf52804a (patch)
tree127a95ef768c02faf0fc52a8faf780d007d4a8ee /gdb/remote.c
parentaf7fc066436916bb4861dda3a5b736beae4f55cc (diff)
downloadfsf-binutils-gdb-d747e0af3d41f19815ab972f6fc9527fbf52804a.zip
fsf-binutils-gdb-d747e0af3d41f19815ab972f6fc9527fbf52804a.tar.gz
fsf-binutils-gdb-d747e0af3d41f19815ab972f6fc9527fbf52804a.tar.bz2
Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)
* All GDB files that #include defs.h: Removed stdio.h. (defs.h): #include stdio.h. This has been tested by building GDBs for all targets hosted on Sun4. None of the build problems were related to stdio.h inclusion. (n.b. many configurations don't build for other reasons.)
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 8562124..49cdcfe 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -66,10 +66,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
kill req k
*/
-#include <stdio.h>
+#include "defs.h"
#include <string.h>
#include <fcntl.h>
-#include "defs.h"
#include "frame.h"
#include "inferior.h"
#include "target.h"
@@ -276,7 +275,7 @@ device is attached to the remote system (e.g. /dev/ttya).");
sg.c_cflag &= ~PARENB; /* No parity */
sg.c_cflag |= CS8; /* 8-bit path */
if (baudrate_set)
- sg.c_cflag = (sb.c_cflag & ~CBAUD) | b_rate;
+ sg.c_cflag = (sg.c_cflag & ~CBAUD) | b_rate;
#else
sg.sg_flags |= RAW | ANYP;
sg.sg_flags &= ~ECHO;