changeset 96515:ca675825c4ef

(gud-gdb-get-stackframe): Allow absolute filenames in stack trace (text command mode).
author Nick Roberts <nickrob@snap.net.nz>
date Sat, 05 Jul 2008 09:36:39 +0000
parents cd65c90908c4
children 081de60dd1a7
files lisp/progmodes/gud.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/gud.el	Sat Jul 05 09:35:01 2008 +0000
+++ b/lisp/progmodes/gud.el	Sat Jul 05 09:36:39 2008 +0000
@@ -889,7 +889,7 @@
 		    (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 @@
 	    (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))