changeset 4497:820df40f1e8c

(gud-dbx-marker-filter): Detect signals as well as bpts.
author Richard M. Stallman <rms@gnu.org>
date Mon, 09 Aug 1993 04:36:47 +0000
parents c9b46e3fe749
children c050d8a0c3db
files lisp/gud.el
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gud.el	Mon Aug 09 00:57:19 1993 +0000
+++ b/lisp/gud.el	Mon Aug 09 04:36:47 1993 +0000
@@ -337,8 +337,12 @@
   (cons file args))
 
 (defun gud-dbx-marker-filter (string)
-  (if (string-match
-       "stopped in .* at line \\([0-9]*\\) in file \"\\([^\"]*\\)\"" string)
+  (if (or (string-match
+         "stopped in .* at line \\([0-9]*\\) in file \"\\([^\"]*\\)\""
+         string)
+        (string-match
+         "signal .* in .* at line \\([0-9]*\\) in file \"\\([^\"]*\\)\""
+         string))
       (setq gud-last-frame
 	    (cons
 	     (substring string (match-beginning 2) (match-end 2))