Doug MacEachern wrote:

On Wed, 28 Nov 2001, Stas Bekman wrote:


I debug different things and with gdb's dynamic libs symbol loading
slowness now I have to *craft* gdb scripts to do what I want. I cannot
call them all .gdbinit. Makes sense? In any case Apache-Test already
generates a gdb script which collides with the script that I want to
run. What's the point of having this script then?


no, Apache-Test does not generate a file named '.gdbinit'


I was talking about t/.gdb-test-start, which is added automatically and it ruins my other crafter gdb script. e.g. I do:

handle SIGPIPE pass
handle SIGPIPE nostop
set auto-solib-add 0
b ap_run_pre_config
run -DONE_PROCESS -d /home/stas/apache.org/mp-subproc/t -f /home/stas/apache.org/mp-subproc/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS
sharedlibrary modperl
b modperl_hook_init
# start: modperl_hook_init
continue
# restart: ap_run_pre_config
continue
# restart: modperl_hook_init
continue
b apr_poll
continue
#set auto-solib-add 1
sharedlibrary SubProcess
b mpxs_Apache__SubProcess_test_run



in fact, i have crafted my own ./.gdbinit in httpd-test/perl-framework
that i use all the time.  and i have a different one crafted in my
modperl-2.0/ directory.  and still more goodies in ~/.gdbinit


How does it live with t/.gdb-test-start, or do you start it manually (I mean without t/TEST -d)?

and if i need more i can (gdb) source .more-gdbinit


but that requires typing on every debug session :( I want to automate things to a maximum to make debugging less irritating and erroneous.

since you mentioned your custom files, can you please share the new .gdbinit
ala .gdbinit in modperl 1.x sources? I guess you are talking about .gdbinit


with all the useful macros.


Thanks! _____________________________________________________________________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



Reply via email to