* remote-mips.c (S_IROTH): Moved definition from here.
authorJ.T. Conklin <jtc@acorntoolworks.com>
Tue, 3 Apr 2001 01:51:26 +0000 (01:51 +0000)
committerJ.T. Conklin <jtc@acorntoolworks.com>
Tue, 3 Apr 2001 01:51:26 +0000 (01:51 +0000)
* gdb_stat.h (S_IROTH): to here.

gdb/ChangeLog
gdb/gdb_stat.h
gdb/remote-mips.c

index 5308557ba8f89ba7a5858e5527df19a5a67b27d6..aa7fc73a184a7e3aa084a986631fbce940831834 100644 (file)
@@ -1,5 +1,8 @@
 2001-04-02  J.T. Conklin  <jtc@redback.com>
 
+       * remote-mips.c (S_IROTH): Moved definition from here.
+       * gdb_stat.h (S_IROTH): to here.
+
        * remote.c (remote_protocol_e, remote_protocol_E): Define.
        (set_remote_protocol_e_packet_cmd)
        (set_remote_protocol_E_packet_cmd)
index e0c8f88a6fd78dc041564664d28a2811b8456701..f3577f2f9940b529e4f8f61a1fddcfbb85ee959e 100644 (file)
@@ -66,4 +66,9 @@
 #define S_ISNWK(m) (((m) & S_IFMT) == S_IFNWK)
 #endif
 
+/* Microsoft C's stat.h doesn't define all the POSIX file modes.  */
+#ifndef S_IROTH
+#define S_IROTH        S_IREAD
+#endif
+
 #endif /* !defined(GDB_STAT_H) */
index c923c3522e99d035f7f6153a28cce1b29764f3a9..dfde85b336691cf9ac894e76ce2fab6b24f378e8 100644 (file)
 #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
-
 \f
 
 /* Breakpoint types.  Values 0, 1, and 2 must agree with the watch
This page took 0.027356 seconds and 4 git commands to generate.