[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39408: Breakpoints don't work with M-x gdb under TRAMP
From: |
Lars Ingebrigtsen |
Subject: |
bug#39408: Breakpoints don't work with M-x gdb under TRAMP |
Date: |
Fri, 21 Aug 2020 13:48:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Timo Lilja <timo.lilja@iki.fi> writes:
[...]
> 5. Switch back to source window
> C-x b hello.c RET
>
> 6. Add another breakpoint
> C-x C-a c-b
>
> Emacs becomes unresponsive and the minibuffer is flooded with the
> following error message:
>
> ~File /ssh:vagrant@debug:/vagrant/"/vagrant/hello.c" no longer exists!~
>
> *** Fix
>
> 1. Apply patch gdb-tramp-fix.diff
> $ zcat /usr/share/emacs/26.1/lisp/progmodes/gdb-mi.el.gz >gdb-mi.el
> $ zcat /usr/share/emacs/26.1/lisp/progmodes/gud.el.gz >gud.el
> $ patch <gdb-tramp-fix.diff
Michael, there's tramp-related patch for gdb-mi/gud in this bug report
that I think looks reasonable, if I'm reading it correctly. Do you have
any opinions on this?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#39408: Breakpoints don't work with M-x gdb under TRAMP,
Lars Ingebrigtsen <=