PR breakpoints/14643.
authorDoug Evans <dje@google.com>
Thu, 11 Oct 2012 16:12:05 +0000 (16:12 +0000)
committerDoug Evans <dje@google.com>
Thu, 11 Oct 2012 16:12:05 +0000 (16:12 +0000)
commit7c09e5a0f7f3612c42e52d90056f73167cdb4ae5
tree84d508aa2a51b164fc6b52d3340b77ccaec0400c
parent7b0e8ca5467cfa48726f30c6fe4227a9b5a9023e
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.
gdb/ChangeLog
gdb/linespec.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.linespec/ls-errs.exp
gdb/testsuite/gdb.linespec/thread.c [new file with mode: 0644]
gdb/testsuite/gdb.linespec/thread.exp [new file with mode: 0644]