From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19803 invoked by alias); 27 Feb 2008 23:18:02 -0000 Received: (qmail 19785 invoked by uid 71); 27 Feb 2008 23:18:01 -0000 Date: Wed, 27 Feb 2008 23:18:00 -0000 Message-ID: <20080227231801.19784.qmail@sourceware.org> To: nobody@sources.redhat.com Cc: gdb-prs@sources.redhat.com, From: Daniel Jacobowitz Subject: Re: c++/2417: Breakpoints ignored in constructors outside class {} definition Reply-To: Daniel Jacobowitz Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2008-q1/txt/msg00048.txt.bz2 The following reply was made to PR c++/2417; it has been noted by GNATS. From: Daniel Jacobowitz To: gordon.prieur@sun.com Cc: gdb-gnats@sources.redhat.com Subject: Re: c++/2417: Breakpoints ignored in constructors outside class {} definition Date: Wed, 27 Feb 2008 18:14:47 -0500 On Wed, Feb 27, 2008 at 10:55:53PM -0000, gordon.prieur@sun.com wrote: > If I create a C++ class and define the constructor outside > the class definition, breakpoints in the constructor are > ignored. Adding complexity to the constructor (I/O or function/method calls) resolves the problem. Try GDB HEAD, where this should be fixed by Vladimir's heroic work. -- Daniel Jacobowitz CodeSourcery