Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Pending breakpoints
@ 2006-10-21  3:28 Russell Shaw
  2006-10-21  5:14 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Russell Shaw @ 2006-10-21  3:28 UTC (permalink / raw)
  To: gdb

Hi,
I'm debugging a project with dlopen-ed modules.

In gdb, setting a breakpoint for an as-yet unloaded symbol
makes gdb say:

   (gdb) b func_realize
   Function "func_realize" not defined.
   Make breakpoint pending on future shared library load? (y or [n]) y
   Breakpoint 1 (func_realize) pending.


However, the dialog doesn't happen in DDD, making it useless.

I'm using it on debian:

   GNU DDD 3.3.11 (i486-pc-linux-gnu)
   GNU gdb 6.4.90-debian


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Pending breakpoints
@ 2006-10-26 18:18 Russell Shaw
  2006-10-26 21:29 ` Jim Blandy
  0 siblings, 1 reply; 5+ messages in thread
From: Russell Shaw @ 2006-10-26 18:18 UTC (permalink / raw)
  To: gdb

Hi,
In breakpoint.c:break_command_1():line-5214, "pending = 1" is set
when do_captured_parse_breakpoint() does not find a breakpoint.

Does this only ever happen with unloaded shared libraries, or can
other things like overlays cause it too?


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

end of thread, other threads:[~2006-10-26 21:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-21  3:28 Pending breakpoints Russell Shaw
2006-10-21  5:14 ` Daniel Jacobowitz
2006-10-21  5:20   ` Russell Shaw
2006-10-26 18:18 Russell Shaw
2006-10-26 21:29 ` Jim Blandy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox