This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: how to view content in stl vector
On Mon, Jun 18, 2007 at 02:53:21PM +0200, Maik Beckmann wrote:
> <main.cpp>
> call foo(i)
> No symbol "foo" in current context.
You have to specify the instantiation manually, sorry. Figuring out
which teplated and/or overloaded function to call is one of the
hardest parts of a C++ compiler front end; when I spoke to Mark
Mitchell about this, he estimated it at about 10,000 lines of code.
In light of that it's not surprising that GDB can't do it. You have
to give it some help.
--
Daniel Jacobowitz
CodeSourcery