diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index b60e21ff0ae..110b9f5ed46 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -5278,6 +5278,7 @@ gdb-reset (setq gud-minor-mode nil) (kill-local-variable 'tool-bar-map) (kill-local-variable 'gdb-define-alist)))))) + (gud-hide-current-line-indicator t) (setq gdb-disassembly-position nil) (setq overlay-arrow-variable-list (delq 'gdb-disassembly-position overlay-arrow-variable-list)) diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index a4e611277e4..ffd4dd70762 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -3017,7 +3017,8 @@ gud-reset (with-current-buffer buffer (when gud-minor-mode (setq gud-minor-mode nil) - (kill-local-variable 'tool-bar-map)))))) + (kill-local-variable 'tool-bar-map))))) + (gud-hide-current-line-indicator t)) (defun gud-display-frame () "Find and obey the last filename-and-line marker from the debugger.