summaryrefslogtreecommitdiff
path: root/gdb/remote-mips.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@redback.com>2001-04-03 01:51:26 +0000
committerJ.T. Conklin <jtc@redback.com>2001-04-03 01:51:26 +0000
commit3c61a614721063181c181807fb1713f3f7232b1d (patch)
treebf787e9788e4fdcc4510b23d0118bef9ca8a13ad /gdb/remote-mips.c
parent0ff72b4b846708567092a37377ab121d65688457 (diff)
downloadgdb-3c61a614721063181c181807fb1713f3f7232b1d.tar.gz
* remote-mips.c (S_IROTH): Moved definition from here.
* gdb_stat.h (S_IROTH): to here.
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r--gdb/remote-mips.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c
index c923c3522e9..dfde85b3366 100644
--- a/gdb/remote-mips.c
+++ b/gdb/remote-mips.c
@@ -31,17 +31,9 @@
#include "target.h"
#include "remote-utils.h"
#include "gdb_string.h"
+#include "gdb_stat.h"
#include "regcache.h"
-
-#include <sys/types.h>
-#include <sys/stat.h>
#include <ctype.h>
-
-/* Microsoft C's stat.h doesn't define all the POSIX file modes. */
-#ifndef S_IROTH
-#define S_IROTH S_IREAD
-#endif
-
/* Breakpoint types. Values 0, 1, and 2 must agree with the watch