public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11289] New: Can not set FILE:CLASS::FUNCTION breakpoints
@ 2010-02-16 20:12 drow at sources dot redhat dot com
  2010-02-16 20:52 ` [Bug c++/11289] " cvs-commit at gcc dot gnu dot org
  2010-02-16 22:38 ` tromey at redhat dot com
  0 siblings, 2 replies; 5+ messages in thread
From: drow at sources dot redhat dot com @ 2010-02-16 20:12 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <bug-11289-4717@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2011-08-02 21:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-16 20:12 [Bug c++/11289] New: Can not set FILE:CLASS::FUNCTION breakpoints drow at sources dot redhat dot com
2010-02-16 20:52 ` [Bug c++/11289] " cvs-commit at gcc dot gnu dot org
2010-02-16 22:38 ` tromey at redhat dot com
     [not found] <bug-11289-4717@http.sourceware.org/bugzilla/>
2011-08-02 21:00 ` cvs-commit at gcc dot gnu.org
2011-08-02 21:01 ` tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).