Aaron Paetznick wrote:

When I do that, the port doesn't even seem to open. Here's what I do:


[EMAIL PROTECTED] mod_perl-1.99_11]# gdb /usr/local/www/apache-2.0.48/bin/httpd
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run -X -d /usr/local/www/apache-2.0.48
Starting program: /usr/local/www/apache-2.0.48/bin/httpd -X -d /usr/local/www/apache-2.0.48
[New Thread 16384 (LWP 28385)]



...and I can't even attach to the port then. Any ideas?

port? Did you mean thread? If you are running a prefork mp you should do:


gdb> run -DONE_PROCESS -DNO_DETATCH

If a worker/winnt mpm, then:

gdb> run -DONE_PROCESS -DNO_DETATCH -DPERL_USEITHREADS

For the complete info please read:
http://perl.apache.org/docs/2.0/devel/debug/c.html#Debug_notes

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


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



Reply via email to