gdb
authorTom Tromey <tromey@redhat.com>
Mon, 9 Jun 2008 19:25:15 +0000 (19:25 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 9 Jun 2008 19:25:15 +0000 (19:25 +0000)
commit37cd5d19fecc44f28d9b1f32146e53cdb19b5553
treeb9ddb6767f777080c4466561077e0469d37f91dc
parent7b3082352faa8596807f9f5ad038039aae615020
gdb
* completer.c (complete_line): Don't special-case
expression_completer.
(expression_completer): Only pass last word to
location_completer.
* c-exp.y (yylex): Check 'token', not 'operator'.
gdb/testsuite
* gdb.base/completion.exp: New tests for field name completion
with spaces, and field name completion with '->'.
gdb/ChangeLog
gdb/c-exp.y
gdb/completer.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/completion.exp