gnucash/doc/gnucash-gdb-cmds
Dave Peticolas ed0bc95f5d Rob Browning's patch to add automake.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2395 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-06-02 09:00:31 +00:00

21 lines
532 B
Plaintext

#!/usr/bin/gdb -x
# You can debug gnucash by running gdb as "gdb -x gnucash.gdb-cmds"
# and then executing "run-gnucash somefile".
#
# Secrets: gdb requires that parens be escaped as well as quotes ...
file gnucash.bin
set env GNC_BOOTSTRAP_SCM ./share/scm/bootstrap.scm
set env GNC_SCM_LOAD_PATH ("./share/scm")
set env GNC_DEBUG t
define run-gnucash
set args --debug \
--share-dir ./share \
--config-dir ./etc \
--doc-path \(\"\(./Docs\)\"\"\(./Reports\)\"\) \
$arg0
run
end