From: Joel Brobecker Date: Fri, 1 Jan 2010 06:29:10 +0000 (+0000) Subject: Fix break *FUN'address thread NUM. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9ee22330a920efacc6d8fabe366a77cdfd414e1;p=binutils-gdb.git Fix break *FUN'address thread NUM. * ada-lex.l (task): Expand rule to also match the thread keyword. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f9163588284..9b5b46c3fe8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-01-01 Joel Brobecker + + Fix break *FUN'address thread NUM. + * ada-lex.l (task): Expand rule to also match the thread keyword. + 2010-01-01 Joel Brobecker Fix break *FUN'address task NUM. diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l index e16acb5f6e2..0ef7e709445 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);