This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug exp/10660] New: the result of a cast has the wrong type
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 18 Sep 2009 19:20:28 -0000
- Subject: [Bug exp/10660] New: the result of a cast has the wrong type
- Reply-to: sourceware-bugzilla at sourceware dot org
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.