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++/14248] Unable to call a templated member function in C++


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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2012-06-19 18:36:51 UTC ---
This works for me, using 7.4 and also cvs trunk:

(gdb) p m_pBuffer[0]->Peek<unsigned char>(0)
$1 = 0 '\000'
(gdb) show version
GNU gdb (GDB) 7.4.0.20120125-cvs


I wonder if this could be a compiler problem instead.
I'm using the Fedora 16 system gcc:

barimba. gcc --version
gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)

... 4.6 based but probably has plenty of backports.

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


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