From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9408 invoked by alias); 15 Aug 2012 14:25:07 -0000 Received: (qmail 9376 invoked by uid 22791); 15 Aug 2012 14:25:05 -0000 X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from qmta02.westchester.pa.mail.comcast.net (HELO qmta02.westchester.pa.mail.comcast.net) (76.96.62.24) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Aug 2012 14:24:50 +0000 Received: from omta01.westchester.pa.mail.comcast.net ([76.96.62.11]) by qmta02.westchester.pa.mail.comcast.net with comcast id n1jz1j00L0EZKEL512Qtig; Wed, 15 Aug 2012 14:24:53 +0000 Received: from bag6-1-pt.tunnel.tserv3.fmt2.ipv6.he.net ([IPv6:2001:470:1f04:ae1::2]) by omta01.westchester.pa.mail.comcast.net with comcast id n2R21j00K0P3DwE3M2R3ZX; Wed, 15 Aug 2012 14:25:05 +0000 Subject: Re: Merge C++ conversion into trunk (0/6 - Overview) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Mike Stump In-Reply-To: Date: Wed, 15 Aug 2012 14:25:00 -0000 Cc: GCC Patches , Lawrence Crowl , Paolo Bonzini , DJ Delorie , Tom Tromey , Laurynas Biveinis , gdb@sourceware.org, Richard Guenther Content-Transfer-Encoding: quoted-printable Message-Id: <180D8A6D-B325-4CFE-811B-F09A23FF2E7A@comcast.net> References: <20120812200427.GA12561@google.com> To: Diego Novillo 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/msg00048.txt.bz2 On Aug 15, 2012, at 4:59 AM, Richard Guenther wrote: > and debugging becomes a nightmare (hello gdb people!) > (gdb) call debug_tree (0x7ffff67fa5e8) > Cannot resolve function debug_tree to any overloaded instance Inquiring minds want to know if: macro define debug_tree(A) ((tree)A) makes the above work if you put it into gdbinit.in? If yes, then, I think = for now we should add such lines for every non-overloaded function, I too l= ike using hex constants from dumps. Oh, or, maybe we just add a debug_tree= (long) overload just to satisfy gdb.