From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14422 invoked by alias); 23 Apr 2010 14:30:54 -0000 Received: (qmail 14266 invoked by uid 22791); 23 Apr 2010 14:30:53 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Apr 2010 14:30:44 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0L1C00C002X2C100@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Fri, 23 Apr 2010 17:30:31 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.104.173]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L1C005E12YTRBI0@a-mtaout21.012.net.il>; Fri, 23 Apr 2010 17:30:31 +0300 (IDT) Date: Fri, 23 Apr 2010 14:30:00 -0000 From: Eli Zaretskii Subject: Re: [gdb/libiberty] Improve support for cross debugging shared libraries with DOS style pathnames (from Unix hosts) In-reply-to: <201004231113.o3NBDS94030996@glazunov.sibelius.xs4all.nl> To: Mark Kettenis Cc: pedro@codesourcery.com, gdb-patches@sourceware.org, gcc-patches@gcc.gnu.org Reply-to: Eli Zaretskii Message-id: <83mxwu2qd4.fsf@gnu.org> References: <201004221824.27019.pedro@codesourcery.com> <83y6ge35xi.fsf@gnu.org> <201004231146.22671.pedro@codesourcery.com> <201004231113.o3NBDS94030996@glazunov.sibelius.xs4all.nl> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00789.txt.bz2 > Date: Fri, 23 Apr 2010 13:13:28 +0200 (CEST) > From: Mark Kettenis > CC: gdb-patches@sourceware.org, eliz@gnu.org, gcc-patches@gcc.gnu.org > > > > Please don't use "path" when you really mean "file name". It's > > > confusing; "path" should be reserved for lists of directories such as > > > PATH or INFOPATH. > > > > Oh. I really meant a "path", as in: > > > > "A path, the general form of a filename or of a directory name, > > specifies a unique location in a file system." > > > > (From .) > > > > I suppose that's why we have IS_ABSOLUTE_PATH, and not IS_ABSOLUTE_FILE_NAME, > > and such. > > > > IMO, it's the use of singular path or "search path" to mean > > "list of directories" that's overloaded. > > "Set assumed file system kind for target reported file names" > > kind of sounds like it is only talking about the filename "/dir1/dir2/files1" > > (or directory and filenames, if you think of a directory a file as well). > > Maybe I could just get rid of the mention of paths/file names, and go with: > > > > "Set the assumed file system kind of the target." > > > > Anyway, I'll change it to what you think is clearer. > > I think that depends on whether you're coming from a UNIX environment > or a DOS environment. To me (not really having used DOS for two > decades) path is perfectly clear and acceptable. >From standards.info, node "GNU Manuals": Please do not use the term "pathname" that is used in Unix documentation; use "file name" (two words) instead. We use the term "path" only for search paths, which are lists of directory names. You can hardly say that RMS comes from a DOS environment, can you?