set breakpoint pending on break TestForException_break break abortThe first line lets you set breakpoints in functions that live in shared libraries. The TestForException_break breakpoint will catch exceptions thrown by the standard Teuchos macros in Trilinos.
alias ddd /usr/bin/ddd -x --command=~/.gdbinitThis ensures that .gdbinit gets read.