From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13728 invoked by alias); 3 Jun 2004 03:57:25 -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 13721 invoked from network); 3 Jun 2004 03:57:25 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 3 Jun 2004 03:57:25 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BVjM4-0000VE-5R; Wed, 02 Jun 2004 23:57:24 -0400 Date: Thu, 03 Jun 2004 03:57:00 -0000 From: Daniel Jacobowitz To: wim delvaux Cc: gdb@sources.redhat.com Subject: Re: gdb 6.1-debian : problem with restarting program with breakpoints on dynamic libraries# Message-ID: <20040603035724.GA1806@nevyn.them.org> Mail-Followup-To: wim delvaux , gdb@sources.redhat.com References: <200406030028.34501.wim.delvaux@adaptiveplanet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200406030028.34501.wim.delvaux@adaptiveplanet.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-06/txt/msg00016.txt.bz2 On Thu, Jun 03, 2004 at 12:28:34AM +0200, wim delvaux wrote: > When I do this > > gdb SomeProgram > > and set a breakpoint on a function that will be loaded at runtime > > b SomeFunctionInSomeLib > > gdb properly asks me if I want to set this breakpoint when the symbol is > found. > > Answering "y' and running the program will break on the requested function. > > HOWEVER. > > When I want to rerun the application ('r' command) the breakpoint is still > known by gdb (I see complaint messages) but is not set even when the function > becomes available. > > is this a but in the version I am using ? I can't reproduce this using the same version of GDB. Can you give us a complete transcript of a session that shows the problem? -- Daniel Jacobowitz