This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/10513] enums of a given name seem to mask decls of the same name.


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]