From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21065 invoked by alias); 12 Aug 2009 15:59:33 -0000 Received: (qmail 21025 invoked by uid 48); 12 Aug 2009 15:59:33 -0000 Date: Wed, 12 Aug 2009 15:59:00 -0000 Message-ID: <20090812155933.21023.qmail@sourceware.org> From: "cmoller at redhat dot com" To: gdb-prs@sourceware.org In-Reply-To: <20090812155530.10513.cmoller@redhat.com> References: <20090812155530.10513.cmoller@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug gdb/10513] enums of a given name seem to mask decls of the same name. 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: 2009-q3/txt/msg00126.txt.bz2 ------- Additional Comments From cmoller at redhat dot com 2009-08-12 15:59 ------- Created an attachment (id=4129) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4129&action=view) Testcase showing the failure. Testcase showing the failure. Compile with -g, gdb it, br at the line containing "vv = 9;" Run, then try to print the value of vv. It fails because vv is being resolved to the enum, not the int of the same name. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10513 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.