This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/9423] unable to call templated functions in gdb 6.6
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 8 Feb 2010 22:05:56 -0000
- Subject: [Bug c++/9423] unable to call templated functions in gdb 6.6
- References: <20070914143801.9423.seanius@seanius.net>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.