This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/10513] enums of a given name seem to mask decls of the same name.
- From: "cmoller at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 12 Aug 2009 15:59:33 -0000
- Subject: [Bug gdb/10513] enums of a given name seem to mask decls of the same name.
- References: <20090812155530.10513.cmoller@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.