Commit 51281b32 authored by Chong Yidong's avatar Chong Yidong
Browse files

Fix GDB mode line for gdb-create-source-file-list nil.

* lisp/progmodes/gdb-mi.el (gdb-get-source-file-list)
(gdb-get-source-file): Move mode line update to gdb-get-source-file.

Fixes: debbugs:10087
parent 29a8b279
2011-12-28 Chong Yidong <>
* progmodes/gdb-mi.el (gdb-get-source-file-list)
(gdb-get-source-file): Move mode line update to
gdb-get-source-file (Bug#10087).
2011-12-25 Chong Yidong <>
* progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
......@@ -3787,9 +3787,7 @@ is set in them."
(dolist (buffer (buffer-list))
(with-current-buffer buffer
(when (member buffer-file-name gdb-source-file-list)
(propertize "ready" 'face font-lock-variable-name-face)))
(defun gdb-get-main-selected-frame ()
"Trigger for `gdb-frame-handler' which uses main current
......@@ -4128,7 +4126,9 @@ buffers, if required."
(gdb-get-buffer-create 'gdb-breakpoints-buffer)
(if (and gdb-show-main gdb-main-file)
(let ((pop-up-windows t))
(display-buffer (gud-find-file gdb-main-file))))))
(display-buffer (gud-find-file gdb-main-file)))))
(propertize "ready" 'face font-lock-variable-name-face)))
;;from put-image
(defun gdb-put-string (putstring pos &optional dprop &rest sprops)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment