This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/11289] New: Can not set FILE:CLASS::FUNCTION breakpoints


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]