From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20303 invoked by alias); 3 Dec 2005 14:17:51 -0000 Received: (qmail 20294 invoked by uid 22791); 3 Dec 2005 14:17:51 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (192.114.186.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 03 Dec 2005 14:17:50 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-89-139.inter.net.il [80.230.89.139]) by nitzan.inter.net.il (MOS 3.7.2-GA) with ESMTP id CCE87225 (AUTH halo1); Sat, 3 Dec 2005 16:17:43 +0200 (IST) Date: Sat, 03 Dec 2005 14:17:00 -0000 Message-Id: From: Eli Zaretskii To: Vladimir Prus CC: gdb@sources.redhat.com In-reply-to: (message from Vladimir Prus on Sat, 03 Dec 2005 15:55:10 +0300) Subject: Re: Filename with "./" in breakpoint command Reply-to: Eli Zaretskii References: 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/msg00036.txt.bz2 > From: Vladimir Prus > Date: Sat, 03 Dec 2005 15:55:10 +0300 > > $ ~/build/gdb-cvs/gdb/gdb tracepoints > GNU gdb 6.4.50.20051121-cvs > (gdb) b ./tracepoints.cpp:12 > No source file named ./tracepoints.cpp. > Breakpoint 1 (./tracepoints.cpp:12) pending. > (gdb) b tracepoints.cpp:12 > Breakpoint 2 at 0x80483c4: file tracepoints.cpp, line 12. > (gdb) quit > $ ls tracepoints.cpp > tracepoints.cpp > > It looks like leading "./" in file name confuses gdb. This "./" thing is > send by KDevelop in some cases. What are the actual source file names recorded in the debug info? Please show us that, and we will be able to reason whether this is a feature, a bug, or a missing feature.