Commit e61688f8 authored by Jim Porter's avatar Jim Porter Committed by Michael Albinus
Browse files

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
parent 101a049f
Pipeline #10575 failed with stage
in 76 minutes and 19 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment