aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-mips.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>2001-04-03 01:51:26 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>2001-04-03 01:51:26 +0000
commitba79cc815485adef06c48f139c6e955f07ab2966 (patch)
treedfed6f6706c0bfed9b88f2556511e969d2b71bc0 /gdb/remote-mips.c
parent44eaed12c554c670e20046db43a89aa6d83e8508 (diff)
downloadgdb-ba79cc815485adef06c48f139c6e955f07ab2966.zip
gdb-ba79cc815485adef06c48f139c6e955f07ab2966.tar.gz
gdb-ba79cc815485adef06c48f139c6e955f07ab2966.tar.bz2
* 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 c923c35..dfde85b 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