httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <>
Subject Re: [patch] user defined debug script
Date Wed, 28 Nov 2001 17:08:56 GMT
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 \
   sharedlibrary modperl
   b modperl_hook_init
   # start: modperl_hook_init

% gdb ~/apache-2.0/bin/httpd
(gdb) myrun

View raw message