decode_variable's use of not_found_ptr

Daniel Jacobowitz drow@false.org
Sun Apr 23 15:57:00 GMT 2006


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



More information about the Gdb mailing list