From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6182 invoked by alias); 30 Aug 2006 20:54:25 -0000 Received: (qmail 6174 invoked by uid 22791); 30 Aug 2006 20:54:25 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 30 Aug 2006 20:54:23 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GIX4n-0000tU-8s; Wed, 30 Aug 2006 16:54:21 -0400 Date: Wed, 30 Aug 2006 20:54:00 -0000 From: Daniel Jacobowitz To: Michael Veksler Cc: gdb@sourceware.org Subject: Re: How to call operator<< functions? Message-ID: <20060830205421.GA3261@nevyn.them.org> Mail-Followup-To: Michael Veksler , gdb@sourceware.org References: <44F5645F.4000301@tx.technion.ac.il> <20060830124640.GC19163@nevyn.them.org> <44F5EF97.3020906@tx.technion.ac.il> <20060830202352.GA2018@nevyn.them.org> <44F5F8ED.3090300@tx.technion.ac.il> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44F5F8ED.3090300@tx.technion.ac.il> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00255.txt.bz2 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