Using ddd with gdbkcc
C++ Working Group -
Run II Committee
Fermilab at Work -
Fermilab Home -
Telephone/email -
Search - Help
The gdb debugger that comes with the KAI compiler package is useable
with the ddd debugger front-end; (which is distributed locally at
fermilab in the dddebugger product, to distinguish it from the
ddd data aquisition software), with a few simple setup steps.
- setup kai
- invoke ddd as ddd --debugger $KCC_BASE/bin/gdbkcc
- In the GDB preferences menu, change the name mangling scheme to "EDG"
- save the options
- quit ddd
From this point on, you can invoke ddd as ddd --debugger $KCC_BASE/bin/gdbkcc
to use it with the KAI-aware debugger. To make this easier you
may want to establish the following alias or shell function
- sh,ksh,bash
- kdd() { ddd --debugger $KCC_BASE/bin/gdbkcc "$@"; }
- csh,tcsh
- alias kdd 'ddd --debugger $KCC_BASE/bin/gdbkcc'
This working group is under the auspices of the
Fermilab Run 2 Computing Strategy Committee.
C++ Working Group Webmaster: Marc Mengel