public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug exp/8256] enum types are casted to (byte)
[not found] <20030325102801.8256.mateuszx.pusz@intel.com>
@ 2008-12-19 21:57 ` tromey at redhat dot com
0 siblings, 0 replies; only message in thread
From: tromey at redhat dot com @ 2008-12-19 21:57 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From tromey at redhat dot com 2008-12-19 21:57 -------
This seems to work with gdb 6.8:
(gdb) ptype my_enum_t
type = enum my_enum_e {FIRST_VALUE = 126, SECOND_VALUE, THIRD_VALUE}
and:
(gdb) p (int)THIRD_VALUE
$4 = 128
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at redhat dot com
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |6.8
http://sourceware.org/bugzilla/show_bug.cgi?id=8256
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-19 21:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20030325102801.8256.mateuszx.pusz@intel.com>
2008-12-19 21:57 ` [Bug exp/8256] enum types are casted to (byte) tromey at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).