Next: , Up: Debugging

2.3.1 GDB

GDB is the GNU debugger, which can be used to debug Emacs when it has been compiled with GCC. The best results will be obtained if you start gdb from the src directory as ‘gdb oo/i386/emacs.exe’. This will load the init file .gdbinit in that directory, to define some extra commands for working with lisp while debugging, and set up breakpoints to catch abnormal aborts.