Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] Let gdb know that cygwin is dosish
Date: Mon, 15 Oct 2001 22:02:00 -0000	[thread overview]
Message-ID: <20011016010250.A5592@redhat.com> (raw)

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


             reply	other threads:[~2001-10-15 22:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-15 22:02 Christopher Faylor [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011016010250.A5592@redhat.com \
    --to=cgf@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox