aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-06-13 09:08:05 +0000
committerEli Zaretskii <eliz@gnu.org>2001-06-13 09:08:05 +0000
commit4ac40b292f0c854749461a778d45df5d5f1c1bf0 (patch)
treee089aef6ef5b8661482fd824bd87812ec081de09 /gdb/config
parent24f931295e7752bda9fe0a01bfdaff5587e04353 (diff)
downloadgdb-4ac40b292f0c854749461a778d45df5d5f1c1bf0.zip
gdb-4ac40b292f0c854749461a778d45df5d5f1c1bf0.tar.gz
gdb-4ac40b292f0c854749461a778d45df5d5f1c1bf0.tar.bz2
* config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
(SLASH_STRING): Remove unised definitions. * config/i386/xm-cygwin.h: Likewise.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/xm-cygwin.h5
-rw-r--r--gdb/config/i386/xm-go32.h7
2 files changed, 0 insertions, 12 deletions
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 ';'