GDB HINTS

Hints for using gdb on CDF offline code on Linux. This works both at Fermilab and offsite. No license needed

Sofware changes quickly, check the date of this document (bottom of page) !

Common tips:

Using gdb in (X)Emacs

As front end to gdb is not as nice a ddd, but somehow more portable because you only need to copy the proper gdb exe and then can use without worrying about having the correct ddd version installed in your system. I like that the debugger shows the executing code in the xemacs window I am used to. In particular your favorite fontification is kept so colors help to tell code from comments and getting around the syntax clauses. I also like being able to use that same window to move around file(s) and fix bugs as I go go along.
It works just the same in Emacs or Xemacs. I like Xemacs better.
Stefano Belforte
Last modified: Fri Mar 15 13:42:02 MET 2002