diff options
author | David Henkel-Wallace <gumby@cygnus> | 1992-07-23 18:57:29 +0000 |
---|---|---|
committer | David Henkel-Wallace <gumby@cygnus> | 1992-07-23 18:57:29 +0000 |
commit | ddce75e0750e6bf39b046c7306d4c3e64212333d (patch) | |
tree | f0bb892d425ca64b35b22c83fdf189a9c944b2bc /gdb/remote-es1800.c | |
parent | f6715b07ae9d67f2392bb6cd666b2ac5951bd90b (diff) | |
download | gdb-ddce75e0750e6bf39b046c7306d4c3e64212333d.zip gdb-ddce75e0750e6bf39b046c7306d4c3e64212333d.tar.gz gdb-ddce75e0750e6bf39b046c7306d4c3e64212333d.tar.bz2 |
Support OSE.
Diffstat (limited to 'gdb/remote-es1800.c')
-rw-r--r-- | gdb/remote-es1800.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/remote-es1800.c b/gdb/remote-es1800.c index 71a4bf7..f32440b 100644 --- a/gdb/remote-es1800.c +++ b/gdb/remote-es1800.c @@ -109,6 +109,7 @@ STP #ifdef USG #include <sys/types.h> +#include <sgtty.h> #endif #include <signal.h> @@ -255,8 +256,8 @@ es1800_init_break PARAMS ((char *, int)); static FILE *log_file; #endif -static struct target_ops es1800_ops; /* Forward decl */ -static struct target_ops es1800_child_ops; /* Forward decl */ +extern struct target_ops es1800_ops; /* Forward decl */ +extern struct target_ops es1800_child_ops; /* Forward decl */ static int kiodebug; static int timeout = 100; @@ -399,7 +400,7 @@ es1800_open (name, from_tty) } es1800_fc_save = fcflag; - fcflag = (fcflag & (_FREAD | _FWRITE)); /* mask out any funny stuff */ + fcflag = (fcflag & (FREAD | FWRITE)); /* mask out any funny stuff */ if (fcntl (es1800_desc, F_SETFL, fcflag) == -1) { perror_with_name ("fcntl serial"); |