GNU bug report logs - #28392
26.0.50; gdb-mi runs into error with tramp

Previous Next

Package: emacs;

Reported by: Zhongwei Yao <ashi08104 <at> gmail.com>

Date: Fri, 8 Sep 2017 14:04:01 UTC

Severity: normal

Merged with 44151

Found in version 26.0.50

Fixed in version 27.3

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jim Porter <jporterbugs <at> gmail.com>
To: 28392 <at> debbugs.gnu.org
Subject: bug#28392: 26.0.50; gdb-mi runs into error with tramp
Date: Thu, 15 Apr 2021 22:03:00 -0700
[Message part 1 (text/plain, inline)]
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.

(Note: I have a couple of patches in Tramp already that put me at the
limit for patches without copyright assignment paperwork. However,
I've already requested the form.)
[0002-Emacs-27-Fix-GUD-overlay-arrows-in-M-x-gdb-when-debugging-ove.patch (application/octet-stream, attachment)]
[0001-Emacs-28-Fix-GUD-overlay-arrows-in-gdb-mi-when-debugging-over.patch (application/octet-stream, attachment)]

This bug report was last modified 4 years and 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.