This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: cannot insert breakpoint 0
- To: tromey at cygnus dot com
- Subject: Re: cannot insert breakpoint 0
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: 21 Apr 2000 17:51:51 -0500
- Cc: Gdb List <gdb at sourceware dot cygnus dot com>
- References: <87u2gwy8y5.fsf@cygnus.com>
> I'm using Insight on my Debian 2.0 x86 Linux box.
>
> Occasionally I get this message:
>
> Cannot insert breakpoint 0
>
> When I get this my only recourse is to exit gdb and start over. This
> is highly annoying because the above error tends to occur most often
> when I'm debugging a program that uses dynamic loading (meaning I have
> to go through a somewhat involved dance just to get the breakpoints
> set up how I want them).
>
> What does this message mean? What, if anything, can I do about it?
I think this means that GDB can't insert the breakpoint which will
tell it when the dynamic linker has loaded or unloaded something. Can
you give us a full reproduction recipe?