From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12212 invoked by alias); 17 Jul 2004 10:09:42 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12205 invoked from network); 17 Jul 2004 10:09:40 -0000 Received: from unknown (HELO aragorn.inter.net.il) (192.114.186.23) by sourceware.org with SMTP; 17 Jul 2004 10:09:40 -0000 Received: from zaretski ([80.230.154.144]) by aragorn.inter.net.il (MOS 3.4.6-GR) with ESMTP id DUH74070; Sat, 17 Jul 2004 13:08:59 +0300 (IDT) Date: Sat, 17 Jul 2004 10:30:00 -0000 From: "Eli Zaretskii" To: Daniel Jacobowitz Message-Id: <2427-Sat17Jul2004130804+0300-eliz@gnu.org> CC: mec.gnu@mindspring.com, gdb@sources.redhat.com, rolandz@poczta.fm In-reply-to: <20040716142113.GB7311@nevyn.them.org> (message from Daniel Jacobowitz on Fri, 16 Jul 2004 10:21:13 -0400) Subject: Re: How to setup a breakpoint on constructor Reply-to: Eli Zaretskii References: <20040715113103.E988A4B104@berman.michael-chastain.com> <20040715135427.GA3545@nevyn.them.org> <2914-Fri16Jul2004140923+0300-eliz@gnu.org> <20040716142113.GB7311@nevyn.them.org> X-SW-Source: 2004-07/txt/msg00222.txt.bz2 > Date: Fri, 16 Jul 2004 10:21:13 -0400 > From: Daniel Jacobowitz > > (A) It was an ugly interface change to work around an internal > limitation, and they needed to retrain users to it. > > (B) It exposes the difference between complete and base constructors, > which is an implementation detail of the C++ ABI that most users don't > understand. IMVHO, these 2 objections are not serious enough to prevent us from using Michael's patch (or yours, for that matter). As things are now, GDB has a serious drawback wrt debugging C++ constructors; the patch in question provides a relatively easy workaround. So I think we should install the patch (and have it prominently documented in the user's manual, so that users will be able to easily find such a subtle technique).