From: Russell Shaw <rjshaw@netspace.net.au>
Cc: gdb@sourceware.org
Subject: Re: Pending breakpoints
Date: Sat, 21 Oct 2006 05:20:00 -0000 [thread overview]
Message-ID: <4539AE10.4060307@netspace.net.au> (raw)
In-Reply-To: <20061021051401.GB26818@nevyn.them.org>
Daniel Jacobowitz wrote:
> 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.
Hi,
That worked ok. Now there's a bug in gdb (when run stand-alone).
The dlopened module is loaded, the breakpoint symbol is resolved,
but the program continues running instead of stopping at the
breakpoint. I'll look into gdb source myself.
next prev parent reply other threads:[~2006-10-21 5:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-21 3:28 Russell Shaw
2006-10-21 5:14 ` Daniel Jacobowitz
2006-10-21 5:20 ` Russell Shaw [this message]
2006-10-26 18:18 Russell Shaw
2006-10-26 21:29 ` Jim Blandy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4539AE10.4060307@netspace.net.au \
--to=rjshaw@netspace.net.au \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox