diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index 66fc4b1..037f64a 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -3998,7 +3998,7 @@ gdb-invalidate-disassembly (file (gdb-mi--field frame 'fullname)) (line (gdb-mi--field frame 'line))) (if file - (format "-data-disassemble -f %s -l %s -n -1 -- 0" file line) + (format "-data-disassemble -f %s -l %s -n -1 -- 0" (file-local-name file) line) ;; If we're unable to get a file name / line for $PC, simply ;; follow $PC, disassembling the next 10 (x ~15 (on IA) == ;; 150 bytes) instructions.