aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-fileio.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-10 19:29:57 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-10 19:29:57 +0000
commit0ef75e11485f7a3946404d970eeaa824e1808d3c (patch)
tree10dfc5d0f85b8585ca0dc7963b44c1c3750cd64a /gdb/remote-fileio.c
parent6aeb981f43b9a523832fa3c5c86bbc2f71e881ea (diff)
downloadgdb-0ef75e11485f7a3946404d970eeaa824e1808d3c.zip
gdb-0ef75e11485f7a3946404d970eeaa824e1808d3c.tar.gz
gdb-0ef75e11485f7a3946404d970eeaa824e1808d3c.tar.bz2
2003-06-10 Andrew Cagney <cagney@redhat.com>
* remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H. * Makefile.in (remote-fileio.o): Update dependencies. * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not include <setjmp.h>, or <sys/types.h> conditional on USG. (remote_fio_jmp_buf): Delete global variable.
Diffstat (limited to 'gdb/remote-fileio.c')
-rw-r--r--gdb/remote-fileio.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/gdb/remote-fileio.c b/gdb/remote-fileio.c
index 5fa387f..abf8e47 100644
--- a/gdb/remote-fileio.c
+++ b/gdb/remote-fileio.c
@@ -26,18 +26,14 @@
#include "gdbcmd.h"
#include "remote.h"
#include "gdb/fileio.h"
+#include "gdb_wait.h"
+#include "gdb_stat.h"
-#include <ctype.h>
#include <fcntl.h>
#include <sys/time.h>
-#ifdef USG
-#include <sys/types.h>
-#endif
-#include <sys/stat.h>
#ifdef __CYGWIN__
-#include <sys/cygwin.h>
+#include <sys/cygwin.h> /* For cygwin_conv_to_full_posix_path. */
#endif
-#include <setjmp.h>
#include <signal.h>
static struct {
@@ -428,7 +424,6 @@ remote_fileio_to_fio_timeval (struct timeval *tv, struct fio_timeval *ftv)
static int remote_fio_ctrl_c_flag = 0;
static int remote_fio_no_longjmp = 0;
-jmp_buf remote_fio_jmp_buf;
#if defined (HAVE_SIGACTION) && defined (SA_RESTART)
static struct sigaction remote_fio_sa;