From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27824 invoked by alias); 22 Apr 2006 21:36:13 -0000 Received: (qmail 27812 invoked by uid 22791); 22 Apr 2006 21:36:12 -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, 22 Apr 2006 21:36:11 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FXPlw-0003lV-EN; Sat, 22 Apr 2006 17:36:08 -0400 Date: Sun, 23 Apr 2006 15:57:00 -0000 From: Daniel Jacobowitz To: Greg Law Cc: gdb@sourceware.org Subject: Re: decode_variable's use of not_found_ptr Message-ID: <20060422213607.GA14401@nevyn.them.org> Mail-Followup-To: Greg Law , gdb@sourceware.org References: <4449E3F8.3020408@greglaw.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4449E3F8.3020408@greglaw.net> User-Agent: Mutt/1.5.8i 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-04/txt/msg00292.txt.bz2 On Sat, Apr 22, 2006 at 09:06:16AM +0100, Greg Law wrote: > Anyway, sometimes when I restart a program. I get error messages telling > me that a breakpoint in a shared library can't be found: > > Error in re-setting breakpoint 2: > Function "foo" not defined. > Error in re-setting breakpoint 2: > Function "foo" not defined. > Error in re-setting breakpoint 2: > Function "foo" not defined. > Error in re-setting breakpoint 2: > Function "foo" not defined. > Error in re-setting breakpoint 2: > Function "foo" not defined. > Error in re-setting breakpoint 2: > Function "foo" not defined. > Error in re-setting breakpoint 2: > Function "foo" not defined. > > I've had a quick look at the source, and the message seems to be coming > from decode_variable() You've been hunting around trying to figure out how this function was recently changed to cause this problem. I think you're looking up the wrong tree - have you tried an earlier version? This message has been around for as long as I can remember (which isn't to say that it shouldn't be fixed). The pending_bp and not_found_ptr stuff is much more recent and for a different situation. -- Daniel Jacobowitz CodeSourcery