From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2494 invoked by alias); 15 Aug 2012 12:21:35 -0000 Received: (qmail 2451 invoked by uid 22791); 15 Aug 2012 12:21:29 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Aug 2012 12:21:04 +0000 Received: from relay1.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id C4A9AA39D0; Wed, 15 Aug 2012 14:21:03 +0200 (CEST) Date: Wed, 15 Aug 2012 12:21:00 -0000 From: Richard Guenther To: Diego Novillo Cc: gcc-patches@gcc.gnu.org, Lawrence Crowl , bonzini@gnu.org, dj@redhat.com, tromey@redhat.com, laurynas.biveinis@gmail.com, gdb@sourceware.org Subject: Re: Merge C++ conversion into trunk (0/6 - Overview) In-Reply-To: <502B93BF.6020802@google.com> Message-ID: References: <20120812200427.GA12561@google.com> <502B93BF.6020802@google.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00046.txt.bz2 On Wed, 15 Aug 2012, Diego Novillo wrote: > On 12-08-15 07:59 , Richard Guenther wrote: > > > (gdb) call debug_tree (*expr_p) > > > > constant 9> > > (gdb) call debug_tree (0x7ffff67fa5e8) > > Cannot resolve function debug_tree to any overloaded instance > > Yeah, in the absence of overloads this is annoying. Happens with 0, too. 0 is fixed if you have recent enough gdb. (gdb) call debug_tree (0) as 0 is a null pointer constant. Richard.