From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4939 invoked by alias); 15 Aug 2012 15:44:50 -0000 Received: (qmail 4805 invoked by uid 22791); 15 Aug 2012 15:44:48 -0000 X-SWARE-Spam-Status: No, hits=-6.1 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 15:44:34 +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 DFB46A3D8B; Wed, 15 Aug 2012 17:44:32 +0200 (CEST) Date: Wed, 15 Aug 2012 15:44:00 -0000 From: Michael Matz To: Jan Kratochvil Cc: Diego Novillo , Richard Guenther , 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: <20120815151227.GA1324@host2.jankratochvil.net> Message-ID: References: <20120812200427.GA12561@google.com> <502B93BF.6020802@google.com> <502B94C9.4020607@google.com> <20120815151227.GA1324@host2.jankratochvil.net> 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/msg00050.txt.bz2 Hi, On Wed, 15 Aug 2012, Jan Kratochvil wrote: > It is a needless violation of C++ resolving rules. It's not needless as the examples here show. gdb is about helping people debug their stuff, not about language lawyering. > There are various easy way how to get it working (in .gdbinit or > cc1-gdb.gdb define GDB function, define macro in GDB, use GDB python > pretty printer instead (possibly even calling GCC inferior function) We should define gdb macros for every not-overloaded function (which are _all_ GCC functions currently)? Doesn't scale. Ciao, Michael.