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 exp/12117] ptype can drop const/volatile information


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.


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