diff options
author | Michael Tiemann <tiemann@cygnus> | 1992-03-03 23:26:26 +0000 |
---|---|---|
committer | Michael Tiemann <tiemann@cygnus> | 1992-03-03 23:26:26 +0000 |
commit | d747e0af3d41f19815ab972f6fc9527fbf52804a (patch) | |
tree | 127a95ef768c02faf0fc52a8faf780d007d4a8ee /gdb/remote.c | |
parent | af7fc066436916bb4861dda3a5b736beae4f55cc (diff) | |
download | gdb-d747e0af3d41f19815ab972f6fc9527fbf52804a.zip gdb-d747e0af3d41f19815ab972f6fc9527fbf52804a.tar.gz 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.c | 5 |
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; |