Preloading dlopen symbols
Russell Shaw
rjshaw@netspace.net.au
Thu Sep 21 15:49:00 GMT 2006
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.
More information about the Gdb
mailing list