This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/11919] <tab> on invalid elements aborts the completion
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 18 Aug 2010 19:07:36 -0000
- Subject: [Bug symtab/11919] <tab> on invalid elements aborts the completion
- References: <20100817195303.11919.jan.kratochvil@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-08-18 19:02 -------
Subject: Bug 11919
CVSROOT: /cvs/src
Module name: src
Changes by: tromey@sourceware.org 2010-08-18 19:02:34
Modified files:
gdb : ChangeLog completer.c gdbtypes.c parse.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: completion.exp
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12094&r2=1.12095
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/completer.c.diff?cvsroot=src&r1=1.39&r2=1.40
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbtypes.c.diff?cvsroot=src&r1=1.196&r2=1.197
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/parse.c.diff?cvsroot=src&r1=1.102&r2=1.103
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2418&r2=1.2419
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/completion.exp.diff?cvsroot=src&r1=1.46&r2=1.47
------- Additional Comments From tromey at redhat dot com 2010-08-18 19:07 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|7.1 |7.3
http://sourceware.org/bugzilla/show_bug.cgi?id=11919
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.