This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: decode_variable's use of not_found_ptr


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]