From: Lars Ingebrigtsen <larsi@gnus.org>
To: Timo Lilja <timo.lilja@iki.fi>
Cc: 39408@debbugs.gnu.org, Michael Albinus <michael.albinus@gmx.de>
Subject: bug#39408: Breakpoints don't work with M-x gdb under TRAMP
Date: Fri, 21 Aug 2020 13:48:12 +0200 [thread overview]
Message-ID: <87mu2o6wzn.fsf@gnus.org> (raw)
In-Reply-To: <CAFsu5Z2nPRXbedpT_6WJ+F6YYZ3WA2V304PpaiqsEGkm=PYwUg@mail.gmail.com> (Timo Lilja's message of "Mon, 3 Feb 2020 21:07:05 +0200")
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
next prev parent reply other threads:[~2020-08-21 11:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-03 19:07 bug#39408: Breakpoints don't work with M-x gdb under TRAMP Timo Lilja
2020-08-21 11:48 ` Lars Ingebrigtsen [this message]
2020-08-21 14:08 ` Michael Albinus
2021-04-16 5:02 ` Jim Porter
2021-05-01 9:59 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mu2o6wzn.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=39408@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
--cc=timo.lilja@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).