public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug exp/10660] New: the result of a cast has the wrong type
@ 2009-09-18 19:20 tromey at redhat dot com
  2009-09-18 20:01 ` [Bug exp/10660] " alexl at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: tromey at redhat dot com @ 2009-09-18 19:20 UTC (permalink / raw)
  To: gdb-prs

value_cast yields a result whose type is the result of calling
check_typedef on the requested type.  This means that casting will
strip typedefs.

This yields the wrong answer for cases where the type name matters,
namely python-based pretty-printing, and printing of wchar_t.

-- 
           Summary: the result of a cast has the wrong type
           Product: gdb
           Version: 6.8
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: exp
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: tromey at redhat dot com
                CC: gdb-prs at sourceware dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=10660

------- 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] 2+ messages in thread

* [Bug exp/10660] the result of a cast has the wrong type
  2009-09-18 19:20 [Bug exp/10660] New: the result of a cast has the wrong type tromey at redhat dot com
@ 2009-09-18 20:01 ` alexl at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: alexl at redhat dot com @ 2009-09-18 20:01 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexl at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10660

------- 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] 2+ messages in thread

end of thread, other threads:[~2009-09-18 20:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-18 19:20 [Bug exp/10660] New: the result of a cast has the wrong type tromey at redhat dot com
2009-09-18 20:01 ` [Bug exp/10660] " alexl 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).