This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug exp/12117] ptype can drop const/volatile information
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 06 Feb 2013 14:46:38 +0000
- Subject: [Bug exp/12117] ptype can drop const/volatile information
- Auto-submitted: auto-generated
- References: <bug-12117-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12117
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |tromey at redhat dot com
Resolution| |FIXED
Target Milestone|--- |7.6
--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2013-02-06 14:46:38 UTC ---
These all work for me with CVS HEAD:
(gdb) ptype v_const_my_int
type = const int
(gdb) ptype v_volatile_my_int
type = volatile int
(gdb) ptype v_const_volatile_my_int
type = const volatile int
(gdb) ptype v_volatile_const_my_int
type = const volatile int
I'm using the Fedora 16 system gcc.
If it still fails for you I would suspect a compiler bug.
I'm closing the bug.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.