From: Russell Shaw <rjshaw@netspace.net.au>
Cc: gdb@sourceware.org
Subject: Re: Preloading dlopen symbols
Date: Thu, 21 Sep 2006 15:49:00 -0000 [thread overview]
Message-ID: <4512B48D.3080508@netspace.net.au> (raw)
In-Reply-To: <20060921153908.GA26559@nevyn.them.org>
Daniel Jacobowitz wrote:
> On Fri, Sep 22, 2006 at 01:36:45AM +1000, Russell Shaw wrote:
>
>>Hi,
>>When i run a program that dlopens a library, i can only set a
>>breakpoint in that library after it is loaded. When i restart
>>the inferior, my breakpoints get disabled.
>>
>>How can i load all the modules to give the effect of one monolithic
>>program so that i can set breakpoints anywhere at anytime and not
>>have them disabled?
>
> You can't, but they should be re-enabled automatically when the module
> is reloaded, and you should be able to set "pending" breakpoints on
> modules that have not yet been loaded. Are you using a recent version
> of GDB?
Hi,
I'm using 6.4.90-debian.
I found that gdb asks whether to make the breakpoint pending, but DDD
doesn't show that prompt.
prev parent reply other threads:[~2006-09-21 15:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-21 15:36 Russell Shaw
2006-09-21 15:39 ` Daniel Jacobowitz
2006-09-21 15:49 ` Russell Shaw [this message]
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=4512B48D.3080508@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