From ba79cc815485adef06c48f139c6e955f07ab2966 Mon Sep 17 00:00:00 2001 From: "J.T. Conklin" Date: Tue, 3 Apr 2001 01:51:26 +0000 Subject: [PATCH] * remote-mips.c (S_IROTH): Moved definition from here. * gdb_stat.h (S_IROTH): to here. --- gdb/ChangeLog | 3 +++ gdb/gdb_stat.h | 5 +++++ gdb/remote-mips.c | 10 +--------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5308557ba8f..aa7fc73a184 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 e0c8f88a6fd..f3577f2f994 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 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 -#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