From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15431 invoked by alias); 22 Sep 2007 14:08:25 -0000 Received: (qmail 15404 invoked by uid 22791); 22 Sep 2007 14:08:20 -0000 X-Spam-Check-By: sourceware.org Received: from smtp.taloyhtioverkot.fi (HELO smtp.taloyhtioverkot.fi) (212.16.101.161) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 22 Sep 2007 14:08:17 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.taloyhtioverkot.fi (Postfix) with ESMTP id D40383EC278 for ; Sat, 22 Sep 2007 17:08:01 +0300 (EEST) Received: from smtp.taloyhtioverkot.fi ([127.0.0.1]) by localhost (smtp.taloyhtioverkot.fi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fMP9Glmt5Idf for ; Sat, 22 Sep 2007 17:07:59 +0300 (EEST) Received: from [192.168.0.50] (adsl-212-16-102-13.taloyhtioverkot.fi [212.16.102.13]) by smtp.taloyhtioverkot.fi (Postfix) with ESMTP id 678833EC2F2 for ; Sat, 22 Sep 2007 17:07:59 +0300 (EEST) Message-ID: <46F521CB.9030902@netsonic.fi> Date: Sat, 22 Sep 2007 15:37:00 -0000 From: Claus Baumgartner User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Re: break on a external source file References: <20070921223918.GA27875@caradoc.them.org> In-Reply-To: <20070921223918.GA27875@caradoc.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-09/txt/msg00180.txt.bz2 Daniel Jacobowitz wrote: > On Sat, Sep 22, 2007 at 01:21:31AM +0300, costin_c wrote: >> How can I tell to gdb to put a breakpoint on a given line in C++ >> source file, located in directory situated other than current one ? > > You're doing it right. The problem doesn't have to do with that, but > with this: >> 4 Print::Print(int v) >> 5 { >> 6 val=v+v; >> 7 }; > > That's a constructor. This is a known bug in GDB, for which Vladimir > Prus has recently posted patches. > Hi, Are these patches already committed? BR, Claus