From 4ac40b292f0c854749461a778d45df5d5f1c1bf0 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 13 Jun 2001 09:08:05 +0000 Subject: * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR) (SLASH_STRING): Remove unised definitions. * config/i386/xm-cygwin.h: Likewise. --- gdb/ChangeLog | 6 ++++++ gdb/config/i386/xm-cygwin.h | 5 ----- gdb/config/i386/xm-go32.h | 7 ------- 3 files changed, 6 insertions(+), 12 deletions(-) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2ead54f..6b1db58 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 1e210c7..a1662d2 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 79b8f27..03d11db 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 ';' -- cgit v1.1