Updates for new program invocation method, path conventions.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12356 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled
2006-01-15 22:19:13 +00:00
parent 34d44c7d22
commit d53ab1fdd2

14
HACKING
View File

@@ -95,11 +95,11 @@ way to get trace messages into a file:
Starting GnuCash in GDB
-----------------------
To run gdb on an installed version of gnucash (installed in /usr/local/bin:)
To run gdb on an installed version of gnucash (installed in /opt/gnc/unstable:)
% gnucash-env gdb /usr/bin/guile
% /opt/gnc/unstable/bin/gnucash-env gdb /opt/gnc/unstable/bin/gnucash-bin
[gdb output]
% gdb> run -e main -s /usr/local/libexec/gnucash/overrides/gnucash --g-fatal-warnings
% gdb> run [--g-fatal-warnings]
To run gdb on the version in your build tree:
@@ -107,12 +107,6 @@ To run gdb on the version in your build tree:
[gdb output]
% gdb> run -e main -s ./src/bin/overrides/gnucash --g-fatal-warnings
To run gdb on an opt-style-install from your build tree:
$ ./gnucash-env gdb /usr/bin/guile
[gdb output]
gdb> run -e main -s ../libexec/overrides/gnucash --g-fatal-warning
You'll also probably want to know about these:
% gdb> catch fork
@@ -122,7 +116,7 @@ You'll also probably want to know about these:
It may be the case that running GDB from within emacs doesn't work for you,
with the following error:
[C-u M-x gdb /opt/gnucash-cvs/bin/gnucash-env gdb /usr/bin/guile...
[C-u M-x gdb /opt/gnucash-cvs/bin/gnucash-env gdb /opt/gnucash-cvs/bin/gnucash-bin
...in buffer *gud-gdb*:]
/opt/gnucash-cvs/libexec/gnucash/overrides/gnucash-env: line 28: exec: -d: invalid option