summaryrefslogtreecommitdiff
path: root/lisp/gud.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-08-02 04:43:48 +0000
committerRichard M. Stallman <rms@gnu.org>1995-08-02 04:43:48 +0000
commit1dc9668c16626f8431cfb62c2200424427e44bd5 (patch)
tree44834d93723ca0243b393382a11ea49d31e75c9a /lisp/gud.el
parent721565973f592519b95b4732c39237bee3178a3a (diff)
downloademacs-1dc9668c16626f8431cfb62c2200424427e44bd5.tar.gz
(gud-xdb-marker-filter): Change pattern to accept spc at end.
Diffstat (limited to 'lisp/gud.el')
-rw-r--r--lisp/gud.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/gud.el b/lisp/gud.el
index cf092dc5efb..87917045838 100644
--- a/lisp/gud.el
+++ b/lisp/gud.el
@@ -808,10 +808,11 @@ containing the executable being debugged.")
gud-marker-acc "")
(setq gud-marker-acc (concat gud-marker-acc string)))
(if result
- (if (or (string-match "\\([^\n \t:]+\\): [^:]+: \\([0-9]+\\):" result)
+ (if (or (string-match "\\([^\n \t:]+\\): [^:]+: \\([0-9]+\\)[: ]"
+ result)
(string-match "[^: \t]+:[ \t]+\\([^:]+\\): [^:]+: \\([0-9]+\\):"
result))
- (let ((line (string-to-int
+ (let ((line (string-to-int
(substring result (match-beginning 2) (match-end 2))))
(file (gud-xdb-file-name
(substring result (match-beginning 1) (match-end 1)))))