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; 3+ 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] 3+ messages in thread
* [Bug c++/11289] Can not set FILE:CLASS::FUNCTION breakpoints
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 ` cvs-commit at gcc dot gnu dot org
2010-02-16 22:38 ` tromey at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2010-02-16 20:52 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-02-16 20:52 -------
Subject: Bug 11289
CVSROOT: /cvs/src
Module name: src
Changes by: drow@sourceware.org 2010-02-16 20:51:51
Modified files:
gdb : ChangeLog linespec.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: list.exp
gdb/testsuite/gdb.cp: overload.cc overload.exp
Log message:
gdb/
* linespec.c (decode_line_1): Handle FILE:FUNCTION even if
FUNCTION contains parentheses. Improve removal of a trailing
single quote.
gdb/testsuite/
* gdb.base/list.exp (test_list_filename_and_function): Add test
with single quotes.
* gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
matching.
* gdb.cp/overload.exp: Add tests with filename, function, and quotes.
Add KFAIL'd tests for PR gdb/11289.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11366&r2=1.11367
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/linespec.c.diff?cvsroot=src&r1=1.95&r2=1.96
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2134&r2=1.2135
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/list.exp.diff?cvsroot=src&r1=1.18&r2=1.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/overload.cc.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/overload.exp.diff?cvsroot=src&r1=1.14&r2=1.15
--
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] 3+ messages in thread
* [Bug c++/11289] Can not set FILE:CLASS::FUNCTION breakpoints
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
1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2010-02-16 22:38 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From tromey at redhat dot com 2010-02-16 22:38 -------
This seems related to PR 8883.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|Can not set |Can not set
|FILE:CLASS::FUNCTION |FILE:CLASS::FUNCTION
|breakpoints |breakpoints
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] 3+ messages in thread
end of thread, other threads:[~2010-02-16 22:38 UTC | newest]
Thread overview: 3+ 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
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).