This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/9946] New: gdb does not understand DW_TAG_template_value_param


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]