Doug MacEachern wrote:

On Thu, 29 Nov 2001, Stas Bekman wrote:


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


it just works. try it:
% cat .gdbinit
define sr
printf "%s\n", ap_server_root
end
% t/TEST -d
ctrl-c
(gdb) sr /home/dougm/ap/httpd-test/perl-framework/t
i intentionally chose a name other than .gdbinit (.gdb-test-start) for
this reason.


that's not what I meant. Look at the script I've posted:

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


I've to set things before run is called and have to set things after it was called. Currently .gdb-test-start doesn't let me add my own script.

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



there's nothing useful in there to share. my point is that we do not need a new feature which re-invents functionality that already exists in gdb.


it doesn't reinvent anything, it simply passes -commands=file to gdb using exactly the same option.


_____________________________________________________________________ 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