diff options
| author | Stephen Leake | 2019-04-03 10:25:45 -0700 |
|---|---|---|
| committer | Stephen Leake | 2019-04-03 10:25:45 -0700 |
| commit | 9df0b8d166a3b3805c20e10885f15f9e35de7ec6 (patch) | |
| tree | a51df997f9e82c98a5666492a0fdde25044fc656 | |
| parent | 0e468a620458fecd003c396050aa6deb722982c1 (diff) | |
| download | emacs-9df0b8d166a3b3805c20e10885f15f9e35de7ec6.tar.gz emacs-9df0b8d166a3b3805c20e10885f15f9e35de7ec6.zip | |
Fix bug in gud-gdb-marker-filter: first marker does not start with \n
| -rw-r--r-- | lisp/progmodes/gud.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 92f5205a6d6..4306f5daa02 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -678,7 +678,7 @@ The option \"--fullname\" must be included in this value." | |||
| 678 | ;; gud-marker-acc until we receive the rest of it. Since we | 678 | ;; gud-marker-acc until we receive the rest of it. Since we |
| 679 | ;; know the full marker regexp above failed, it's pretty simple to | 679 | ;; know the full marker regexp above failed, it's pretty simple to |
| 680 | ;; test for marker starts. | 680 | ;; test for marker starts. |
| 681 | (if (string-match "\n\\(\032.*\\)?\\'" gud-marker-acc) | 681 | (if (string-match "\\(\n\\)?\\(\032.*\\)?\\'" gud-marker-acc) |
| 682 | (progn | 682 | (progn |
| 683 | ;; Everything before the potential marker start can be output. | 683 | ;; Everything before the potential marker start can be output. |
| 684 | (setq output (concat output (substring gud-marker-acc | 684 | (setq output (concat output (substring gud-marker-acc |