This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/9946] New: gdb does not understand DW_TAG_template_value_param
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 12 Mar 2009 18:47:39 -0000
- Subject: [Bug c++/9946] New: gdb does not understand DW_TAG_template_value_param
- Reply-to: sourceware-bugzilla at sourceware dot org
We have a g++ that has been modified to emit DW_TAG_template_value_param.
However, gdb does not then make the corresponding symbols visible
to the user.
A simple test case is something like:
#include <stdio.h>
template<int X>
class T
{
public:
T()
{
printf ("%d\n", X);
}
};
int main()
{
T<23> t;
return 0;
}
If you break in the constructor, "print X" should show "23".
--
Summary: gdb does not understand DW_TAG_template_value_param
Product: gdb
Version: 6.8
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
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=9946
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.