From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29463 invoked by alias); 1 Oct 2003 14:48: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 29441 invoked from network); 1 Oct 2003 14:48:21 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 1 Oct 2003 14:48:21 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 1A4hfm-0000zl-Hl; Wed, 01 Oct 2003 10:09:46 -0400 Date: Wed, 01 Oct 2003 14:48:00 -0000 From: Daniel Jacobowitz To: Cedric.Pillonel@swisscom.com Cc: gdb@sources.redhat.com, gdb-prs@sources.redhat.com Subject: Re: Breakpoints in ctor and gcc 3.x Message-ID: <20031001140946.GB3720@nevyn.them.org> Mail-Followup-To: Cedric.Pillonel@swisscom.com, gdb@sources.redhat.com, gdb-prs@sources.redhat.com References: <57CE6CB990693A478C1106BBC91398BA7D559D@sxmbx04.corproot.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57CE6CB990693A478C1106BBC91398BA7D559D@sxmbx04.corproot.net> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-10/txt/msg00022.txt.bz2 On Wed, Oct 01, 2003 at 08:37:37AM +0200, Cedric.Pillonel@swisscom.com wrote: > GCC doesn't stop on breakpoints in C++ constructors or destructors. > I'm using gcc 3.2 and gdb 5.2.1. I know it is a known bug with gcc 3.x. > > This bug is old and I'm surprised that it still has not been fixed !!! > Is there any workaround? > When will it be fixed ? I think it is a serious one since you can't debug your ctor or dtor ! I have hopes to fix it for 6.1. But like everything else in GDB, it gets fixed when someone has both time and motivation to do it. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer