]> git.eshelyaron.com Git - emacs.git/commitdiff
(gud-xdb-marker-filter): Change pattern to accept spc at end.
authorRichard M. Stallman <rms@gnu.org>
Wed, 2 Aug 1995 04:43:48 +0000 (04:43 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 2 Aug 1995 04:43:48 +0000 (04:43 +0000)
lisp/gud.el

index cf092dc5efb37522ebd9a1a1117ef8bba77ef069..87917045838e59bbf6b91dd2e3d6eb12643de482 100644 (file)
@@ -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)))))