From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4418 invoked by alias); 16 Feb 2010 20:12:57 -0000 Received: (qmail 4398 invoked by uid 48); 16 Feb 2010 20:12:57 -0000 Date: Tue, 16 Feb 2010 20:12:00 -0000 From: "drow at sources dot redhat dot com" To: gdb-prs@sourceware.org Message-ID: <20100216201257.11289.drow@sources.redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug c++/11289] New: Can not set FILE:CLASS::FUNCTION breakpoints X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2010-q1/txt/msg00274.txt.bz2 I have a patch which adds these two tests to overload.exp: gdb_test "list ${srcfile}:foo::overloadfnarg(int)" "int foo::overloadfnarg" gdb_test "list ${srcfile}:'foo::overloadfnarg(int)'" "int foo::overloadfnarg" They both fail (before and after the patch). locate_first_half has a comment suggesting it should find "overload.cc:" in this case, but instead it finds "overload.cc:foo::". So we decide that must be a class, and never look for a file named overload.cc. -- Summary: Can not set FILE:CLASS::FUNCTION breakpoints Product: gdb Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at sourceware dot org ReportedBy: drow at sources dot redhat dot com CC: gdb-prs at sourceware dot org http://sourceware.org/bugzilla/show_bug.cgi?id=11289 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.