This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Pending breakpoints
- From: Daniel Jacobowitz <drow at false dot org>
- To: Russell Shaw <rjshaw at netspace dot net dot au>
- Cc: gdb at sourceware dot org
- Date: Sat, 21 Oct 2006 01:14:01 -0400
- Subject: Re: Pending breakpoints
- References: <453993D7.3080704@netspace.net.au>
On Sat, Oct 21, 2006 at 01:28:23PM +1000, Russell Shaw wrote:
> 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.
That's a problem with ddd, then; ask them. Meanwhile, set break
pending on may help, but who knows how badly that will confuse ddd.
--
Daniel Jacobowitz
CodeSourcery