This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Get versioned minsyms from dynamic symtab (Was: Re: How to call operator<< functions?)
On Thu, 2006-08-31 at 16:02 +0300, Michael Veksler wrote:
> Take the two files from my test case in:
> http://sources.redhat.com/ml/gdb/2006-08/msg00271.html
> [...]
> (gdb) p x.Print(std::cout)
> Enter B::Print() this=0xbfffec00
> $1 = void
> (gdb) p x.Print(myCout)
> Cannot resolve method B::Print to any overloaded instance
> (gdb) p x.Print(std::cout)
> Cannot resolve method B::Print to any overloaded instance
> (gdb)
> ==============
> What is going on here. Why the second Print(std::cout) no longer works?
> Let's try to rerun without exiting GDB:
Sorry, I can't reproduce that... this is working fine here.