*** lisp/progmodes/gdb-mi.el 2012-04-25 08:07:57 +0000 --- lisp/progmodes/gdb-mi.el 2012-05-05 07:46:14 +0000 *************** *** 4187,4193 **** (if (boundp 'speedbar-frame) (speedbar-timer-fn)) (setq gud-running nil) (setq gdb-active-process nil) ! (remove-hook 'after-save-hook 'gdb-create-define-alist t)) (defun gdb-get-source-file () "Find the source file where the program starts and display it with related --- 4187,4196 ---- (if (boundp 'speedbar-frame) (speedbar-timer-fn)) (setq gud-running nil) (setq gdb-active-process nil) ! (remove-hook 'after-save-hook 'gdb-create-define-alist t) ! ;; Quit window of any *gud- buffer. ! (when (string-match "\\*gud-" (buffer-name (window-buffer))) ! (quit-window))) (defun gdb-get-source-file () "Find the source file where the program starts and display it with related