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 breakpoints/14643] unable to set breakpoint in file beginningwith linespec keyword in name or on function named thread


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.


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