aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-go32.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-01-04 15:39:00 +0000
committerSteve Chamberlain <sac@cygnus>1993-01-04 15:39:00 +0000
commit5fe932391d34c4369afa1ff42a386a708149be74 (patch)
tree46d62a3a098f40236b447373665c88f6286508d1 /gdb/ser-go32.c
parent27de82c60361e1017504ded324b24ec979ae97b6 (diff)
downloadgdb-5fe932391d34c4369afa1ff42a386a708149be74.zip
gdb-5fe932391d34c4369afa1ff42a386a708149be74.tar.gz
gdb-5fe932391d34c4369afa1ff42a386a708149be74.tar.bz2
* command.c (shell_escape, make_command, _initialze_command):
don't create or use fork if CANT_FORK is defined. * serial.h, ser-go32.c: now compiles, but "the obvious problems of code written for the IBM PC" remain. * xm-go32.h: define CANT_FORK
Diffstat (limited to 'gdb/ser-go32.c')
-rw-r--r--gdb/ser-go32.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ser-go32.c b/gdb/ser-go32.c
index f729d72..195f1d2 100644
--- a/gdb/ser-go32.c
+++ b/gdb/ser-go32.c
@@ -21,6 +21,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
the IBM PC. FIXME. -- gnu@cygnus.com, Sep92 */
#include "defs.h"
+
+/* dummy */
+struct ttystate;
+
#include "serial.h"
#include <sys/dos.h>
@@ -278,7 +282,9 @@ serial_default_name ()
void
-serial_raw ()
+serial_raw (fd, old)
+int fd;
+struct ttystate *old;
{
/* Always in raw mode */
}
@@ -326,7 +332,7 @@ serial_write (str, len)
dosasync_write(fd, str, len);
}
-int
+void
serial_close ()
{
}