public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* cannot insert breakpoint 0
@ 2000-04-20 10:30 Tom Tromey
  2000-04-21 15:51 ` Jim Blandy
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2000-04-20 10:30 UTC (permalink / raw)
  To: Gdb List

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?

Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cannot insert breakpoint 0
  2000-04-20 10:30 cannot insert breakpoint 0 Tom Tromey
@ 2000-04-21 15:51 ` Jim Blandy
  2000-04-21 16:32   ` Tom Tromey
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Blandy @ 2000-04-21 15:51 UTC (permalink / raw)
  To: tromey; +Cc: Gdb List

> 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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cannot insert breakpoint 0
  2000-04-21 15:51 ` Jim Blandy
@ 2000-04-21 16:32   ` Tom Tromey
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Tromey @ 2000-04-21 16:32 UTC (permalink / raw)
  To: Jim Blandy; +Cc: tromey, Gdb List

Jim> I think this means that GDB can't insert the breakpoint which
Jim> will tell it when the dynamic linker has loaded or unloaded
Jim> something.  Can you give us a full reproduction recipe?

I will if I see it again.
For the time being I'm not debugging that program any more.
Also, even when I was, it didn't happen all the time.

Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-04-21 16:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-20 10:30 cannot insert breakpoint 0 Tom Tromey
2000-04-21 15:51 ` Jim Blandy
2000-04-21 16:32   ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).