emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 e61688f: Fix setting breakpoints in M-x gdb for remote files. D


From: Michael Albinus
Subject: emacs-27 e61688f: Fix setting breakpoints in M-x gdb for remote files. Don't merge
Date: Sat, 1 May 2021 05:56:29 -0400 (EDT)

branch: emacs-27
commit e61688f87db985e8f12631d609d74f9a12e5839b
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Michael Albinus <michael.albinus@gmx.de>

    Fix setting breakpoints in M-x gdb for remote files.  Don't merge
    
    * lisp/progmodes/gdb-mi.el (gdb-jsonify-buffer): Fix modification
    of GDB/MI "fullname" property for remote files
---
 lisp/progmodes/gdb-mi.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 65fe997..1b2642f 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -2696,7 +2696,7 @@ If `default-directory' is remote, full file names are 
adapted accordingly."
     (let ((remote (file-remote-p default-directory)))
       (when remote
         (goto-char (point-min))
-        (while (re-search-forward "[\\[,]fullname=\"\\(.+\\)\"" nil t)
+        (while (re-search-forward "[\\[,]fullname=\"\\(.+?\\)\"" nil t)
           (replace-match (concat remote "\\1") nil nil nil 1))))
     (goto-char (point-min))
     (when fix-key



reply via email to

[Prev in Thread] Current Thread [Next in Thread]