forked from Imagelibrary/binutils-gdb
PR gdb/8704
* breakpoint.c (find_condition_and_thread): Correct task error message. * c-exp.y (yylex): Stop before "thread N", "task N", or abbreviations of those. doc/ * gdb.texinfo (Thread-Specific Breakpoints): Thread specifiers are allowed after the breakpoint condition. testsuite/ * gdb.base/condbreak.exp: Test combinations of "break *EXP", "if", and "thread". Correct matching in the previous test.
This commit is contained in:
@@ -6636,7 +6636,7 @@ find_condition_and_thread (char *tok, CORE_ADDR pc,
|
||||
if (tok == tmptok)
|
||||
error (_("Junk after task keyword."));
|
||||
if (!valid_task_id (*task))
|
||||
error (_("Unknown task %d\n"), *task);
|
||||
error (_("Unknown task %d."), *task);
|
||||
}
|
||||
else
|
||||
error (_("Junk at end of arguments."));
|
||||
|
||||
Reference in New Issue
Block a user