From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20729 invoked by alias); 21 Oct 2006 05:14:11 -0000 Received: (qmail 20717 invoked by uid 22791); 21 Oct 2006 05:14:09 -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; Sat, 21 Oct 2006 05:14:03 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Gb9BJ-000734-64; Sat, 21 Oct 2006 01:14:01 -0400 Date: Sat, 21 Oct 2006 05:14:00 -0000 From: Daniel Jacobowitz To: Russell Shaw Cc: gdb@sourceware.org Subject: Re: Pending breakpoints Message-ID: <20061021051401.GB26818@nevyn.them.org> Mail-Followup-To: Russell Shaw , gdb@sourceware.org References: <453993D7.3080704@netspace.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <453993D7.3080704@netspace.net.au> User-Agent: Mutt/1.5.13 (2006-08-11) 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-10/txt/msg00170.txt.bz2 On Sat, Oct 21, 2006 at 01:28:23PM +1000, Russell Shaw wrote: > Hi, > I'm debugging a project with dlopen-ed modules. > > In gdb, setting a breakpoint for an as-yet unloaded symbol > makes gdb say: > > (gdb) b func_realize > Function "func_realize" not defined. > Make breakpoint pending on future shared library load? (y or [n]) y > Breakpoint 1 (func_realize) pending. > > > However, the dialog doesn't happen in DDD, making it useless. That's a problem with ddd, then; ask them. Meanwhile, set break pending on may help, but who knows how badly that will confuse ddd. -- Daniel Jacobowitz CodeSourcery