From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19003 invoked by alias); 6 Dec 2005 20:13:37 -0000 Received: (qmail 18996 invoked by uid 22791); 6 Dec 2005 20:13:36 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Dec 2005 20:13:36 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-29-207.inter.net.il [80.230.29.207]) by romy.inter.net.il (MOS 3.7.2-GA) with ESMTP id DCX50934 (AUTH halo1); Tue, 6 Dec 2005 22:13:31 +0200 (IST) Date: Tue, 06 Dec 2005 20:13:00 -0000 Message-Id: From: Eli Zaretskii To: Vladimir Prus CC: gdb@sources.redhat.com In-reply-to: <20051206115559.GA20190@white> (message from Bob Rossi on Tue, 6 Dec 2005 06:55:59 -0500) Subject: Re: Filename with "./" in breakpoint command Reply-to: Eli Zaretskii References: <200512050953.01350.ghost@cs.msu.su> <20051205185556.GA9808@nevyn.them.org> <20051206045518.GA23837@nevyn.them.org> <20051206115559.GA20190@white> X-IsSubscribed: yes 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/msg00062.txt.bz2 > Date: Tue, 6 Dec 2005 06:55:59 -0500 > From: Bob Rossi > > However, unless I'm missing something, I don't think it makes sense to > set multiple breakpoints. > > 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. We are miscommunicating: multiple breakpoints were suggested for the situation where the user types "b foo.c" and there are more than 1 file in the symtabs whose basename is foo.c.