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
* [Bug c++/14921] enable /x flag for ptype
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 ` daniel.gutson at gmail dot com
2022-11-07 20:30 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: daniel.gutson at gmail dot com @ 2012-12-06 3:23 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14921
Daniel Gutson <daniel.gutson at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.gutson at gmail dot
| |com
--
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
* [Bug c++/14921] enable /x flag for ptype
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
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2022-11-07 20:30 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=14921
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
We have ptype/x now, but it doesn't work in this case,
I think because the template parameters are part of
the symbol name, not integers that are formatted during
type printing.
--
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).