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

Fix GUD overlay arrows in M-x gdb when debugging over Tramp. Don't merge

* lisp/progmodes/gdb-mi.el (gdb-frame-handler): Use local part of
file name when setting `gud-last-frame'.
parent e61688f8
Pipeline #10576 failed with stage
in 77 minutes and 10 seconds
......@@ -4376,7 +4376,7 @@ overlay arrow in source buffer."
(let ((frame (bindat-get-field (gdb-json-partial-output) 'frame)))
(when frame
(setq gdb-selected-frame (bindat-get-field frame 'func))
(setq gdb-selected-file (bindat-get-field frame 'fullname))
(setq gdb-selected-file (file-local-name (bindat-get-field frame 'fullname)))
(setq gdb-frame-number (bindat-get-field frame 'level))
(setq gdb-frame-address (bindat-get-field frame 'addr))
(let ((line (bindat-get-field frame 'line)))
......
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