gdb
authorTom Tromey <tromey@redhat.com>
Wed, 18 Aug 2010 19:02:34 +0000 (19:02 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 18 Aug 2010 19:02:34 +0000 (19:02 +0000)
commitc92817ce8d63df3e3c7225d77723f1c4ae725f58
treee7c50f7d6f489add476f812346cb7006f0347146
parent55455f8927ff9d4703d844163ef51b6e26cdef9e
gdb
PR symtab/11919:
* gdbtypes.c (lookup_struct_elt_type): Clean up error emission.
* parse.c (parse_field_expression): Use RETURN_MASK_ERROR.  Move
name-copying lower.  Document exception behavior.
* completer.c (expression_completer): Catch exceptions from
parse_field_expression.
gdb/testsuite
PR symtab/11919:
* gdb.base/completion.exp: Add test.
gdb/ChangeLog
gdb/completer.c
gdb/gdbtypes.c
gdb/parse.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/completion.exp