Commit 034de736 authored by Nick Roberts's avatar Nick Roberts
Browse files

(gud-gdb-marker-filter): Include "\n" in regexp

to detect the beginning of a level 2 or 3 annotation.
parent 5d987733
......@@ -477,7 +477,7 @@ off the specialized speedbar mode."
;; gud-marker-acc until we receive the rest of it. Since we
;; know the full marker regexp above failed, it's pretty simple to
;; test for marker starts.
(if (string-match "\032.*\\'" gud-marker-acc)
(if (string-match "\n\\(\032.*\\)?\\'" gud-marker-acc)
(progn
;; Everything before the potential marker start can be output.
(setq output (concat output (substring gud-marker-acc
......
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