From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17534 invoked by alias); 20 Jun 2006 12:24:43 -0000 Received: (qmail 17509 invoked by uid 22791); 20 Jun 2006 12:24:42 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 20 Jun 2006 12:24:41 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FsfHU-0005GU-V3; Tue, 20 Jun 2006 08:24:33 -0400 Date: Tue, 20 Jun 2006 12:27:00 -0000 From: Daniel Jacobowitz To: Dima Sorkin Cc: gdb@sourceware.org Subject: Re: gdb does not stops inside a template function Message-ID: <20060620122432.GC20079@nevyn.them.org> Mail-Followup-To: Dima Sorkin , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00133.txt.bz2 On Tue, Jun 20, 2006 at 10:38:01AM +0200, Dima Sorkin wrote: > Hi. > I have the following problem with gdb6.3 : > If I put a breakpoint on a line inside a function template, > the gdb not always stops there. > > Please see attached ".cpp" file and the gdb session transcript > (file: "templ_dbg.1.output"). > It can be seen that gdb stops on first call to "f", > but not on second. Yes, this is a known bug; it's basically the same bug as not stopping in constructor functions using g++. Sorry. No one has had time to do the major changes needed to fix it. -- Daniel Jacobowitz CodeSourcery