public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14921] New: enable /x flag for ptype
@ 2012-12-06  3:22 daniel.gutson at gmail dot com
  2012-12-06  3:23 ` [Bug c++/14921] " daniel.gutson at gmail dot com
  2022-11-07 20:30 ` tromey at sourceware dot org
  0 siblings, 2 replies; 3+ messages in thread
From: daniel.gutson at gmail dot com @ 2012-12-06  3:22 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-07 20:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-06  3:22 [Bug c++/14921] New: enable /x flag for ptype daniel.gutson at gmail dot com
2012-12-06  3:23 ` [Bug c++/14921] " daniel.gutson at gmail dot com
2022-11-07 20:30 ` tromey at sourceware dot org

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).