Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Let gdb know that cygwin is dosish
@ 2001-10-15 22:02 Christopher Faylor
  2001-10-16  2:13 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Faylor @ 2001-10-15 22:02 UTC (permalink / raw)
  To: gdb-patches

I'm not sure if this falls into my jurisdiction or not, but unless
there are objections, I'm going to make the following change.

I recently found that a bug that I'd been halfheartedly tracking
down for months was caused by the fact that some of gdb's code didn't
recognize the fact that f:/ was an absolute path under cygwin.

This patch should fix that as well as a number of other odd
incompatibilities with mixed case.

cgf

2001-10-16  Christopher Faylor  <cgf@redhat.com>

	* filenames.h: Add cygwin to the list of dosish style path systems.

Index: filenames.h
===================================================================
RCS file: /cvs/uberbaum/include/filenames.h,v
retrieving revision 1.1
diff -u -p -r1.1 filenames.h
--- filenames.h	2000/05/26 13:11:57	1.1
+++ filenames.h	2001/10/16 04:59:01
@@ -5,7 +5,7 @@
    use forward- and back-slash in path names interchangeably, and
    some of them have case-insensitive file names.
 
-   Copyright 2000 Free Software Foundation, Inc.
+   Copyright 2000, 2001 Free Software Foundation, Inc.
 
 This file is part of BFD, the Binary File Descriptor library.
 
@@ -26,7 +26,7 @@ Foundation, Inc., 59 Temple Place - Suit
 #ifndef FILENAMES_H
 #define FILENAMES_H
 
-#if defined(__MSDOS__) || defined(_WIN32) || defined(__OS2__)
+#if defined(__MSDOS__) || defined(_WIN32) || defined(__OS2__) || defined (__CYGWIN__)
 
 #ifndef HAVE_DOS_BASED_FILE_SYSTEM
 #define HAVE_DOS_BASED_FILE_SYSTEM 1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-10-16 10:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-15 22:02 [PATCH] Let gdb know that cygwin is dosish Christopher Faylor
2001-10-16  2:13 ` Eli Zaretskii
2001-10-16  5:46   ` Christopher Faylor
2001-10-16 10:07   ` DJ Delorie
2001-10-16 10:11     ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox