From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3535 invoked by alias); 6 Dec 2005 14:01:19 -0000 Received: (qmail 3526 invoked by uid 22791); 6 Dec 2005 14:01:19 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Dec 2005 14:01:18 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id 9A86F48CE04; Tue, 6 Dec 2005 09:01:14 -0500 (EST) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27817-01-5; Tue, 6 Dec 2005 09:01:14 -0500 (EST) Received: from takamaka.act-europe.fr (takamaka.act-europe.fr [212.157.227.139]) by nile.gnat.com (Postfix) with ESMTP id 5887C48CDFF; Tue, 6 Dec 2005 09:01:14 -0500 (EST) Received: by takamaka.act-europe.fr (Postfix, from userid 507) id AE34C47E79; Tue, 6 Dec 2005 09:01:13 -0500 (EST) Date: Tue, 06 Dec 2005 14:01:00 -0000 From: Joel Brobecker To: Eli Zaretskii , Vladimir Prus , gdb@sources.redhat.com Subject: Re: Filename with "./" in breakpoint command Message-ID: <20051206140113.GA1702@adacore.com> References: <200512050953.01350.ghost@cs.msu.su> <20051205185556.GA9808@nevyn.them.org> <20051206045518.GA23837@nevyn.them.org> <20051206115559.GA20190@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051206115559.GA20190@white> User-Agent: Mutt/1.4i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00052.txt.bz2 > If the user types 'b ./foo.c' then that maps to exactly 1 file. If the > file can be found, we could set the breakpoint. If the file can not be > found, then we should give the error that there is no such file. To me, it is natural that ./foo.c means foo.c in the current dir, so should be expande to $cdir/foo.c. So I like Daniel's suggestion. -- Joel