From: J.T. Conklin Date: Tue, 3 Apr 2001 01:51:26 +0000 (+0000) Subject: * remote-mips.c (S_IROTH): Moved definition from here. X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=ba79cc815485adef06c48f139c6e955f07ab2966;p=deliverable%2Fbinutils-gdb.git * remote-mips.c (S_IROTH): Moved definition from here. * gdb_stat.h (S_IROTH): to here. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5308557ba8..aa7fc73a18 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2001-04-02 J.T. Conklin + * 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) diff --git a/gdb/gdb_stat.h b/gdb/gdb_stat.h index e0c8f88a6f..f3577f2f99 100644 --- a/gdb/gdb_stat.h +++ b/gdb/gdb_stat.h @@ -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) */ diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index c923c3522e..dfde85b336 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 -#include #include - -/* 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