From 107a16d19996f6e5ff837f71b5544f46ccc3c206 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 9 Aug 1993 04:36:47 +0000 Subject: [PATCH] (gud-dbx-marker-filter): Detect signals as well as bpts. --- lisp/gud.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/gud.el b/lisp/gud.el index 4fa2a7f31cf..2138e0d4b42 100644 --- a/lisp/gud.el +++ b/lisp/gud.el @@ -337,8 +337,12 @@ and source-file directory for your debugger." (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)) -- 2.39.5