From: Eli Zaretskii Date: Wed, 13 Jun 2001 09:08:05 +0000 (+0000) Subject: * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ac40b292f0c854749461a778d45df5d5f1c1bf0;p=binutils-gdb.git * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR) (SLASH_STRING): Remove unised definitions. * config/i386/xm-cygwin.h: Likewise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2ead54f4b8f..6b1db58fdae 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-06-13 Eli Zaretskii + + * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR) + (SLASH_STRING): Remove unised definitions. + * config/i386/xm-cygwin.h: Likewise. + 2001-06-12 Andrew Cagney * ui-out.c (ui_out_list_begin): Add parameter ``id''. diff --git a/gdb/config/i386/xm-cygwin.h b/gdb/config/i386/xm-cygwin.h index 1e210c76da9..a1662d2ce90 100644 --- a/gdb/config/i386/xm-cygwin.h +++ b/gdb/config/i386/xm-cygwin.h @@ -24,11 +24,6 @@ #define GDBINIT_FILENAME "gdb.ini" -#define SLASH_P(X) ((X)=='\\' || (X) == '/') -#define ROOTED_P(X) ((SLASH_P((X)[0]))|| ((X)[1] ==':')) -#define SLASH_CHAR '/' -#define SLASH_STRING "/" - /* Define this if source files use \r\n rather than just \n. */ #define CRLF_SOURCE_FILES diff --git a/gdb/config/i386/xm-go32.h b/gdb/config/i386/xm-go32.h index 79b8f273705..03d11db55a8 100644 --- a/gdb/config/i386/xm-go32.h +++ b/gdb/config/i386/xm-go32.h @@ -24,13 +24,6 @@ #define GDBINIT_FILENAME "gdb.ini" -#define SLASH_P(X) ((X)=='\\' || (X) == '/') - -#define ROOTED_P(X) ((SLASH_P((X)[0])) || ((X)[0] && (X)[1] ==':')) - -#define SLASH_CHAR '/' -#define SLASH_STRING "/" - #define CRLF_SOURCE_FILES #define DIRNAME_SEPARATOR ';'