From c8baaa6b124c4f2b02089020dd3a0346052e6320 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Sat, 5 Jul 2008 09:36:39 +0000 Subject: [PATCH] (gud-gdb-get-stackframe): Allow absolute filenames in stack trace (text command mode). --- lisp/progmodes/gud.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index fadeae2e26c..7c1970f7aa2 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -889,7 +889,7 @@ It is passed through FILTER before we look at it." (string-match "^#\\([0-9]+\\) +[0-9a-fx]+ in \\([:0-9a-zA-Z_]+\\) (" e) (string-match "^#\\([0-9]+\\) +\\([:0-9a-zA-Z_]+\\) (" e))) (if (not (string-match - "at \\([-0-9a-zA-Z_.]+\\):\\([0-9]+\\)$" e)) + "at \\([-0-9a-zA-Z_/.]+\\):\\([0-9]+\\)$" e)) nil (setcar newlst (list (nth 0 (car newlst)) @@ -901,7 +901,7 @@ It is passed through FILTER before we look at it." (setq newlst (cons (if (string-match - "at \\([-0-9a-zA-Z_.]+\\):\\([0-9]+\\)$" e) + "at \\([-0-9a-zA-Z_/.]+\\):\\([0-9]+\\)$" e) (list name num (match-string 1 e) (match-string 2 e)) (list name num)) -- 2.39.2