From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17583 invoked by alias); 3 Mar 2011 13:13:46 -0000 Received: (qmail 17404 invoked by uid 22791); 3 Mar 2011 13:13:44 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Mar 2011 13:13:38 +0000 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Pv8LY-0005tI-7d; Thu, 03 Mar 2011 08:13:36 -0500 Date: Thu, 03 Mar 2011 13:13:00 -0000 Message-Id: From: Eli Zaretskii To: Kai Tietz CC: mark.kettenis@xs4all.nl, gdb@sourceware.org In-reply-to: (message from Kai Tietz on Thu, 3 Mar 2011 13:50:40 +0100) Subject: Re: [patch gdb]: Fix some DOS-path related issues in gdb Reply-to: Eli Zaretskii References: <201103031214.p23CEj4Z010743@glazunov.sibelius.xs4all.nl> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00033.txt.bz2 > Date: Thu, 3 Mar 2011 13:50:40 +0100 > From: Kai Tietz > Cc: gdb@sourceware.org > > hmm, I admit that it is pretty unlikely that *nix-nat parts are used > with DOS-style paths. Nevertheless on cross-compiling from windows to > *nix such paths can happen easily. How can this happen, even for cross compilation? Can you describe a use-case? > Additionally it is IMHO also an issue of consistance in source. There's no need for consistency here. Someone who reads a BSD-specific or Linux-specific source file should already know that backslashes are not directory separators there.