Hi, I think I have found the right place. I've tested it with "M-x gdb" doing an explicit "quit" or using `C-d'. I've also tested with "M-x gud-gdb". Now I think we'll need a patch to gitignore the .gbd_history files into the emacs directory.