add .gdbinit and tweak .gitignore to skip emacs backup files