This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/14921] New: enable /x flag for ptype
- From: "daniel.gutson at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 06 Dec 2012 03:22:44 +0000
- Subject: [Bug c++/14921] New: enable /x flag for ptype
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14921
Bug #: 14921
Summary: enable /x flag for ptype
Product: gdb
Version: 7.4
Status: NEW
Severity: enhancement
Priority: P2
Component: c++
AssignedTo: unassigned@sourceware.org
ReportedBy: daniel.gutson@gmail.com
Classification: Unclassified
Please enable the /x flag for ptype, since non-type template arguments might be
needed to be shown in hexadecimal.
For example:
template <int X>
struct S
{};
template <class T>
void f()
{
// debug: ptype T here
}
void user()
{
f<S<0x1234> >();
}
This is specially useful in template metaprogramming, when using lists of
numbers.
--
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.