aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2009-11-25 20:43:29 +0000
committerDaniel Jacobowitz <drow@false.org>2009-11-25 20:43:29 +0000
commitb6199126eec56a19b3d4cd365abe3ec29d4911b9 (patch)
tree21ac1b4b37cbb44eb4c5d186ad0aa43e73d24715 /gdb/breakpoint.c
parentb22a05109740305648936be892937c15a5b0c2be (diff)
downloadgdb-b6199126eec56a19b3d4cd365abe3ec29d4911b9.zip
gdb-b6199126eec56a19b3d4cd365abe3ec29d4911b9.tar.gz
gdb-b6199126eec56a19b3d4cd365abe3ec29d4911b9.tar.bz2
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.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 8a6813c..4340c5d 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -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."));