GNU bug report logs - #39408
Breakpoints don't work with M-x gdb under TRAMP

Previous Next

Package: emacs;

Reported by: Timo Lilja <timo.lilja <at> iki.fi>

Date: Mon, 3 Feb 2020 19:11:01 UTC

Severity: normal

Tags: patch

Fixed in version 27.3

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

Bug is archived. No further changes may be made.

Full log


Message #21 received at 39408-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: 39408-done <at> debbugs.gnu.org
Subject: Re: bug#39408: Breakpoints don't work with M-x gdb under TRAMP
Date: Sat, 01 May 2021 11:59:07 +0200
Version: 27.3

Jim Porter <jporterbugs <at> gmail.com> writes:

> This is already fixed in Emacs 28 thanks to bug#44173 (a78c614), which
> replaces the old GDB/MI parser (that converted the data to JSON first)
> with a more-robust parser. Attached is a patch to fix this under Emacs
> 27.
>
> The problem is that in `gdb-jsonify-buffer', when replacing the
> "fullname" with a Tramp path, the wildcard was greedy, resulting in
> only one "fullname" being replaced in the buffer. This had the effect
> of rendering it impossible to have more than one breakpoint, as all
> but the first breakpoint would have unmodified "fullname"s.

Pushed to the emacs-27 branch. Closing the bug.

Note: I don't know, whether there will be an Emacs 27.3. So the patch is
pushed just in case of.

Best regards, Michael.




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

Previous Next


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