From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5752 invoked by alias); 19 Feb 2010 20:22:17 -0000 Received: (qmail 5721 invoked by alias); 19 Feb 2010 20:22:17 -0000 Date: Fri, 19 Feb 2010 20:22:00 -0000 Message-ID: <20100219202217.5719.qmail@sourceware.org> From: "cvs-commit at gcc dot gnu dot org" To: gdb-prs@sourceware.org In-Reply-To: <20040317200800.8693.carlton@kealia.com> References: <20040317200800.8693.carlton@kealia.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug c++/8693] names of c++ nested types in casts must be enclosed in quotes X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2010-q1/txt/msg00302.txt.bz2 ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-02-19 20:22 ------- Subject: Bug 8693 CVSROOT: /cvs/src Module name: src Changes by: tromey@sourceware.org 2010-02-19 20:22:03 Modified files: gdb : ChangeLog c-exp.y cp-namespace.c gdb/testsuite : ChangeLog gdb/testsuite/gdb.cp: namespace.exp Log message: gdb PR c++/8693, PR c++/9496: * cp-namespace.c (cp_lookup_nested_type): Handle TYPE_CODE_UNION. * c-exp.y (lex_one_token): Rename from yylex. Don't call write_dollar_variable. Don't try to classify NAME tokens. (token_and_value): New type. (token_fifo, popping, name_obstack): New globals. (classify_name): New function. (classify_inner_name): Likewise. (yylex): Likewise. (VARIABLE): Now has type sval. (exp : VARIABLE): Call write_dollar_variable. (qualified_name): Use TYPENAME, not typebase. Add production for multiple "::" instances. (variable): Use name_not_typename. (qualified_type): Remove. (typebase): Update. gdb/testsuite PR c++/8693, PR c++/9496: * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added regression tests. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11381&r2=1.11382 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/c-exp.y.diff?cvsroot=src&r1=1.70&r2=1.71 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/cp-namespace.c.diff?cvsroot=src&r1=1.34&r2=1.35 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2149&r2=1.2150 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/namespace.exp.diff?cvsroot=src&r1=1.16&r2=1.17 -- http://sourceware.org/bugzilla/show_bug.cgi?id=8693 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.