public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14867] New: unsupported name lookup in template class
@ 2012-11-21 21:35 tromey at redhat dot com
  2013-10-31 19:39 ` [Bug c++/14867] " tromey at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: tromey at redhat dot com @ 2012-11-21 21:35 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=14867

             Bug #: 14867
           Summary: unsupported name lookup in template class
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned@sourceware.org
        ReportedBy: tromey@redhat.com
    Classification: Unclassified


Consider this test case:

template<typename T>
struct C
{
  int x;

  int m() {
    return C::x;
  }
};

C<int> c;

int main()
{
  return c.m();
}


When stopped in 'm', this should work:

(gdb) p C::x
No symbol "C" in current context.

This is related to PR 14819.

-- 
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] 2+ messages in thread

* [Bug c++/14867] unsupported name lookup in template class
  2012-11-21 21:35 [Bug c++/14867] New: unsupported name lookup in template class tromey at redhat dot com
@ 2013-10-31 19:39 ` tromey at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: tromey at redhat dot com @ 2013-10-31 19:39 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=14867

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |16106

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2013-10-31 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-21 21:35 [Bug c++/14867] New: unsupported name lookup in template class tromey at redhat dot com
2013-10-31 19:39 ` [Bug c++/14867] " 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).