mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-16 10:50:49 -08:00
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
This commit is contained in:
parent
101a049f55
commit
e61688f87d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue