This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: How to call operator<< functions?
On Wed, Aug 30, 2006 at 11:45:33PM +0300, Michael Veksler wrote:
> Great progress. The most annoying and common failures I have used to be
> seeing is no more.
I will test and commit the patch (but not right this moment).
> The other annoying issues sorted by decreasing annoyance :
> - this->Print is not always found (I'll try to create a small test-case
> later).
I think my other changes will help here, though I'm not sure.
> - std::cout related crashes
Fred's pegged this one I suspect. This is a serious bug and we need to
fix it, but it will be a bit tricky.
> - print myCout << x --- won't work need to resort to
> print 'operator<<........'(myCout, x)
I think that foo::operator<< is supported, but operator<<(foo&,...)
isn't. Or else something's wrong with the support.
--
Daniel Jacobowitz
CodeSourcery