From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Faylor To: gdb-patches@sources.redhat.com Subject: [PATCH] Let gdb know that cygwin is dosish Date: Mon, 15 Oct 2001 22:02:00 -0000 Message-id: <20011016010250.A5592@redhat.com> X-SW-Source: 2001-10/msg00232.html 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 * 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