public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/9946] New: gdb does not understand DW_TAG_template_value_param
@ 2009-03-12 18:47 tromey at redhat dot com
  2009-09-02 18:37 ` [Bug c++/9946] " tromey at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tromey at redhat dot com @ 2009-03-12 18:47 UTC (permalink / raw)
  To: gdb-prs

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.


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

end of thread, other threads:[~2010-11-14  3:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-9946-4717@http.sourceware.org/bugzilla/>
2010-11-14 15:37 ` [Bug c++/9946] gdb does not understand DW_TAG_template_value_param jan.kratochvil at redhat dot com
2009-03-12 18:47 [Bug c++/9946] New: " tromey at redhat dot com
2009-09-02 18:37 ` [Bug c++/9946] " tromey at redhat dot com
2010-05-24  6:22 ` pmuldoon at redhat dot com
2010-05-25 14:21 ` swagiaal at redhat dot com
2010-05-25 17:48 ` tromey at redhat dot com
2010-05-26 15:27 ` tromey at redhat dot com
2010-07-28 16:25 ` tromey at redhat dot com

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