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++/9423] unable to call templated functions in gdb 6.6


------- Additional Comments From tromey at redhat dot com  2010-02-08 22:05 -------
Some of the more reasonable forms work on expr-cumulative
(see PR 11211), but the "strange" form does not and the "bare" form does not:

Temporary breakpoint 1, main () at pr.cc:8
8	  dump (5);
(gdb) call dump(5)
No symbol "dump" in current context.
(gdb) call dump<int>(5)
5
(gdb) call 'dump<int>(int)'(5)
5
(gdb) call 'void dump<int>(int)'(5)
5
$1 = 134519328


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-08 22:05:56
               date|                            |


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

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