Commit 9df0b8d1 authored by Stephen Leake's avatar Stephen Leake

Fix bug in gud-gdb-marker-filter: first marker does not start with \n

parent 0e468a62
Pipeline #1150 failed with stage
in 60 minutes and 2 seconds
......@@ -678,7 +678,7 @@ The option \"--fullname\" must be included in this value."
;; 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 "\n\\(\032.*\\)?\\'" gud-marker-acc)
(if (string-match "\\(\n\\)?\\(\032.*\\)?\\'" gud-marker-acc)
;; 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