On Tue, Mar 12, 2002 at 06:46:17PM +0800, Stas Bekman wrote:
> Hi Daniel,
> 
> Remember you've helped me at the mod_perl dev list with my gdb starting 
> very slowly?
> http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=100679267518055&w=2
> Your auto-solib-add tip works great with preforked httpd.
> 
> Now, I'm trying to debug mod_perl over threaded httpd (worker mpm) and 
> the two simply won't play together. If I set auto-solib-add to 0, gdb 
> won't work with threaded httpd. Have you seen this problem before?
> 
> Any ideas how to tell gdb not to resolve so's automatically and still
> have threads working? without auto-solib-add=0, I'm back to the painful 
> 1+ minute startups :(

Threads: in shared libraries.  Basically, auto-solib-add 0 had two
effects: Don't stop all the time to load libraries, and don't notice
the thread library getting loaded.

There's not much we can do without improving the speed of thread
debugging.  I'm thinking about it, but it's really quite complicated...

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to