public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/14643] New: unable to set breakpoint in file beginning with linespec keyword in name or on function named thread
@ 2012-09-28 18:03 dje at google dot com
2012-10-01 17:15 ` [Bug breakpoints/14643] " dje at google dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: dje at google dot com @ 2012-09-28 18:03 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14643
Bug #: 14643
Summary: unable to set breakpoint in file beginning with
linespec keyword in name or on function named thread
Product: gdb
Version: 7.5
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
AssignedTo: unassigned@sourceware.org
ReportedBy: dje@google.com
Classification: Unclassified
(gdb) b thread.c:42
malformed linespec error: unexpected keyword, "thread"
Another failure is, e.g.: b thread
patch to follow
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/14643] unable to set breakpoint in file beginning with linespec keyword in name or on function named thread
2012-09-28 18:03 [Bug breakpoints/14643] New: unable to set breakpoint in file beginning with linespec keyword in name or on function named thread dje at google dot com
@ 2012-10-01 17:15 ` dje at google dot com
2012-10-11 16:12 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: dje at google dot com @ 2012-10-01 17:15 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14643
--- Comment #1 from dje at google dot com 2012-10-01 17:15:25 UTC ---
Another case to think about:
b foo:: thread ::bar()
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/14643] unable to set breakpoint in file beginning with linespec keyword in name or on function named thread
2012-09-28 18:03 [Bug breakpoints/14643] New: unable to set breakpoint in file beginning with linespec keyword in name or on function named thread dje at google dot com
2012-10-01 17:15 ` [Bug breakpoints/14643] " dje at google dot com
@ 2012-10-11 16:12 ` cvs-commit at gcc dot gnu.org
2012-10-11 16:57 ` cvs-commit at gcc dot gnu.org
2023-01-24 0:19 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2012-10-11 16:12 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14643
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-10-11 16:12:16 UTC ---
CVSROOT: /cvs/src
Module name: src
Changes by: devans@sourceware.org 2012-10-11 16:12:05
Modified files:
gdb : ChangeLog linespec.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.linespec: ls-errs.exp
Added files:
gdb/testsuite/gdb.linespec: thread.c thread.exp
Log message:
PR breakpoints/14643.
* linespec.c (struct ls_parser): New member keyword_ok.
(linespec_lexer_lex_string): Add comment.
(linespec_lexer_lex_one): Ignore keywords if it's the wrong place
for one.
(parse_linespec): Set keyword_ok.
testsuite/
* gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
* gdb.linespec/thread.c: New file.
* gdb.linespec/thread.exp: New file.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14730&r2=1.14731
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/linespec.c.diff?cvsroot=src&r1=1.170&r2=1.171
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3404&r2=1.3405
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.linespec/thread.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.linespec/thread.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.linespec/ls-errs.exp.diff?cvsroot=src&r1=1.4&r2=1.5
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/14643] unable to set breakpoint in file beginning with linespec keyword in name or on function named thread
2012-09-28 18:03 [Bug breakpoints/14643] New: unable to set breakpoint in file beginning with linespec keyword in name or on function named thread dje at google dot com
2012-10-01 17:15 ` [Bug breakpoints/14643] " dje at google dot com
2012-10-11 16:12 ` cvs-commit at gcc dot gnu.org
@ 2012-10-11 16:57 ` cvs-commit at gcc dot gnu.org
2023-01-24 0:19 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2012-10-11 16:57 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14643
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-10-11 16:57:54 UTC ---
CVSROOT: /cvs/src
Module name: src
Branch: gdb_7_5-branch
Changes by: devans@sourceware.org 2012-10-11 16:57:44
Modified files:
gdb : ChangeLog linespec.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.linespec: ls-errs.exp
Added files:
gdb/testsuite/gdb.linespec: thread.c thread.exp
Log message:
PR breakpoints/14643.
* linespec.c (struct ls_parser): New member keyword_ok.
(linespec_lexer_lex_string): Add comment.
(linespec_lexer_lex_one): Ignore keywords if it's the wrong place
for one.
(parse_linespec): Set keyword_ok.
testsuite/
* gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
* gdb.linespec/thread.c: New file.
* gdb.linespec/thread.exp: New file.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_5-branch&r1=1.14469.2.36&r2=1.14469.2.37
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/linespec.c.diff?cvsroot=src&only_with_tag=gdb_7_5-branch&r1=1.159.2.4&r2=1.159.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_5-branch&r1=1.3295.2.25&r2=1.3295.2.26
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.linespec/thread.c.diff?cvsroot=src&only_with_tag=gdb_7_5-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.linespec/thread.exp.diff?cvsroot=src&only_with_tag=gdb_7_5-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.linespec/ls-errs.exp.diff?cvsroot=src&only_with_tag=gdb_7_5-branch&r1=1.3.2.1&r2=1.3.2.2
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/14643] unable to set breakpoint in file beginning with linespec keyword in name or on function named thread
2012-09-28 18:03 [Bug breakpoints/14643] New: unable to set breakpoint in file beginning with linespec keyword in name or on function named thread dje at google dot com
` (2 preceding siblings ...)
2012-10-11 16:57 ` cvs-commit at gcc dot gnu.org
@ 2023-01-24 0:19 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2023-01-24 0:19 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=14643
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |tromey at sourceware dot org
Resolution|--- |FIXED
--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
I think this was fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-01-24 0:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-28 18:03 [Bug breakpoints/14643] New: unable to set breakpoint in file beginning with linespec keyword in name or on function named thread dje at google dot com
2012-10-01 17:15 ` [Bug breakpoints/14643] " dje at google dot com
2012-10-11 16:12 ` cvs-commit at gcc dot gnu.org
2012-10-11 16:57 ` cvs-commit at gcc dot gnu.org
2023-01-24 0:19 ` tromey at sourceware dot org
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).