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
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
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
On Thu, 22 Nov 2001, Stas Bekman wrote:
this patch allows us to provide a manually crafted debug script, which
cannot be automatically created.
% t/TEST -d -commands=.my_gdb_script
much easier to just create ./.gdbinit or ~/.gdbinit and gdb will find it
for you. and of course, there's
this patch allows us to provide a manually crafted debug script, which
cannot be automatically created.
% t/TEST -d -commands=.my_gdb_script
note that I didn't use a more suitable name like -debug_script, since Doug
vigorously wants to be able to run -d :), so no new option can start with
-d.