From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26055 invoked by alias); 12 Apr 2010 17:33:55 -0000 Received: (qmail 26046 invoked by uid 22791); 12 Apr 2010 17:33:54 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SARE_MSGID_LONG45,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.35) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Apr 2010 17:33:46 +0000 Received: from wpaz13.hot.corp.google.com (wpaz13.hot.corp.google.com [172.24.198.77]) by smtp-out.google.com with ESMTP id o3CHXhoW009923 for ; Mon, 12 Apr 2010 19:33:43 +0200 Received: from pzk37 (pzk37.prod.google.com [10.243.19.165]) by wpaz13.hot.corp.google.com with ESMTP id o3CHXfJU008160 for ; Mon, 12 Apr 2010 10:33:42 -0700 Received: by pzk37 with SMTP id 37so560788pzk.0 for ; Mon, 12 Apr 2010 10:33:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.247.17 with HTTP; Mon, 12 Apr 2010 10:33:37 -0700 (PDT) In-Reply-To: References: <20100406215751.7EC1784397@ruffy.mtv.corp.google.com> <8339z512xz.fsf@gnu.org> <83mxxczfha.fsf@gnu.org> <83iq80zali.fsf@gnu.org> Date: Mon, 12 Apr 2010 17:33:00 -0000 Received: by 10.141.14.6 with SMTP id r6mr505918rvi.69.1271093617696; Mon, 12 Apr 2010 10:33:37 -0700 (PDT) Message-ID: Subject: Re: [RFA] Add -s option to source command. From: Doug Evans To: Eli Zaretskii Cc: tromey@redhat.com, gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true 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/msg00369.txt.bz2 On Mon, Apr 12, 2010 at 10:31 AM, Doug Evans wrote: > I'm all for stripping the drive letter if it's agreeable to everyone else. > I will send this to the binutils list for approval tomorrow, unless > someone has a better suggestion. > > openp would then check HAVE_DRIVE_SPEC (path) and if true call > STRIP_DRIVE_SPEC (path) > before concatenating the search path with the user-provided path. > > I put these macros in filenames.h because that's where > IS_ABSOLUTE_PATH and IS_DIR_SEPARATOR live. > > 2010-04-12 =A0Doug Evans =A0 > > =A0 =A0 =A0 =A0* filenames.h (HAVE_DRIVE_SPEC, STRIP_DRIVE_SPEC): New mac= ros. ... or is this another file that gets migrated over from the gcc tree, and thus needs approval from the gcc list ...