This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/11289] New: Can not set FILE:CLASS::FUNCTION breakpoints
- From: "drow at sources dot redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 16 Feb 2010 20:12:57 -0000
- Subject: [Bug c++/11289] New: Can not set FILE:CLASS::FUNCTION breakpoints
- Reply-to: sourceware-bugzilla at sourceware dot org
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.