This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Preloading dlopen symbols


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]