unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Jim Porter <jporterbugs@gmail.com>
Cc: 28392-done@debbugs.gnu.org
Subject: bug#28392: 26.0.50; gdb-mi runs into error with tramp
Date: Sat, 01 May 2021 12:13:22 +0200	[thread overview]
Message-ID: <87pmyaahj1.fsf@gmx.de> (raw)
In-Reply-To: <CANh=_JGzFfZFEfKUetM++5R_0ydWsXkv0uHZfH7ea_OUfgv5oQ@mail.gmail.com> (Jim Porter's message of "Thu, 15 Apr 2021 22:03:00 -0700")

Version: 27.3

Jim Porter <jporterbugs@gmail.com> writes:

> Attached are patches to fix this in Emacs 27 and 28; they're
> essentially the same, but with slightly different contexts around the
> diff. I'm not sure if this is wanted for Emacs 27, but it's a small
> bugfix, and combined with my patch in bug#39408 (and the GNU ELPA
> version of Tramp to fix bug#44151), M-x gdb should work correctly for
> Tramp. For Emacs 28, this is the only outstanding issue (that I know
> of) preventing M-x gdb from working with Tramp.
>
> The problem here was that `gud-last-frame', set in
> `gdb-frame-handler', expects a local file path, so the full Tramp path
> was confusing it.

Pushed to both the emacs-27 and master branch. Closing the bug.

I don't know whether there will be an Emacs 27.3, but it doesn't hurt to
push the fix, I believe.

Best regards, Michael.





      reply	other threads:[~2021-05-01 10:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-08 10:52 bug#28392: 26.0.50; gdb-mi runs into error with tramp Zhongwei Yao
2020-11-30 10:57 ` Lars Ingebrigtsen
2020-11-30 11:48   ` Michael Albinus
2021-04-16  5:03 ` Jim Porter
2021-05-01 10:13   ` Michael Albinus [this message]

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=87pmyaahj1.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=28392-done@debbugs.gnu.org \
    --cc=jporterbugs@gmail.com \
    /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).