projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
101a049
)
Fix setting breakpoints in M-x gdb for remote files. Don't merge
author
Jim Porter
<jporterbugs@gmail.com>
Sat, 1 May 2021 09:56:19 +0000
(11:56 +0200)
committer
Michael Albinus
<michael.albinus@gmx.de>
Sat, 1 May 2021 09:56:19 +0000
(11:56 +0200)
* lisp/progmodes/gdb-mi.el (gdb-jsonify-buffer): Fix modification
of GDB/MI "fullname" property for remote files
lisp/progmodes/gdb-mi.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/gdb-mi.el
b/lisp/progmodes/gdb-mi.el
index 65fe997341c2ae2401201f037d7a69b3da599b05..1b2642fae70e79ff70b1676bde013e7b9124def3 100644
(file)
--- 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