From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26580 invoked by alias); 19 Jul 2004 03:54:22 -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 26571 invoked from network); 19 Jul 2004 03:54:22 -0000 Received: from unknown (HELO aragorn.inter.net.il) (192.114.186.23) by sourceware.org with SMTP; 19 Jul 2004 03:54:22 -0000 Received: from zaretski (pns03-195-136.inter.net.il [80.230.195.136]) by aragorn.inter.net.il (MOS 3.4.6-GR) with ESMTP id DUZ41925; Mon, 19 Jul 2004 06:53:47 +0300 (IDT) Date: Mon, 19 Jul 2004 03:58:00 -0000 From: "Eli Zaretskii" To: mec.gnu@mindspring.com (Michael Elizabeth Chastain) Message-Id: <2719-Mon19Jul2004065250+0300-eliz@gnu.org> CC: drow@false.org, gdb@sources.redhat.com In-reply-to: <20040718190316.2D9C94B104@berman.michael-chastain.com> (mec.gnu@mindspring.com) Subject: Re: How to setup a breakpoint on constructor Reply-to: Eli Zaretskii References: <20040718190316.2D9C94B104@berman.michael-chastain.com> X-SW-Source: 2004-07/txt/msg00242.txt.bz2 > Date: Sun, 18 Jul 2004 15:03:16 -0400 (EDT) > From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) > > What does 'print &A::A()' print? > > What does 'disassemble A::A()' print? Okay, but these have nothing to do with setting a breakpoint on A::A(). Moreover, I think these two usages are much more rare than "break A::A()" (I wonder how many users even know about the former, for example). So I don't think these issues should prevent us from using the patch. > There's an assumption in some of gdb's commands that one source code > address maps to one object code address. The UI has to acknowledge > that some source code addresses map to multiple object code addresses. We could fix these problems later, as we discover them.