* remote-mips.c (S_IROTH): Moved definition from here.

* gdb_stat.h (S_IROTH): to here.
This commit is contained in:
J.T. Conklin 2001-04-03 01:51:26 +00:00
parent 44eaed12c5
commit ba79cc8154
3 changed files with 9 additions and 9 deletions

View 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)

View 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) */

View File

@ -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