On Thu, 29 Nov 2001, Stas Bekman wrote: > that's not what I meant. Look at the script I've posted:
then add this to your ./.gdbinit:
define myrun
handle SIGPIPE pass
handle SIGPIPE nostop
set auto-solib-add 0
b ap_run_pre_config
run -DONE_PROCESS -d `pwd`/t -f `pwd`/t/conf/httpd.conf \
-DAPACHE2 -DPERL_USEITHREADS
sharedlibrary modperl
b modperl_hook_init
# start: modperl_hook_init
continue
end
% gdb ~/apache-2.0/bin/httpd
(gdb) myrun
