commit 7d7cd745c3f76445eb0f92a76e347de999d938ff Author: Joel Brobecker Date: Fri Jan 1 10:22:11 2010 +0400 Fix break *FUN'address thread NUM. * ada-lex.l (task): Expand rule to also match the thread keyword. Related to J101-001. diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l index 9505c2d..8c47418 100644 --- a/gdb/ada-lex.l +++ b/gdb/ada-lex.l @@ -160,7 +160,9 @@ if { return 0; } -task { +(task|thread) { + /* This keyword signals the end of the expression and + will be processed separately. */ while (*lexptr != 't' && *lexptr != 'T') lexptr--; yyrestart(NULL);