This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: decode_variable's use of not_found_ptr
- From: Daniel Jacobowitz <drow at false dot org>
- To: Greg Law <greglaw at greglaw dot net>
- Cc: gdb at sourceware dot org
- Date: Sat, 22 Apr 2006 17:36:08 -0400
- Subject: Re: decode_variable's use of not_found_ptr
- References: <4449E3F8.3020408@greglaw.net>
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