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: 39408-done@debbugs.gnu.org
Subject: bug#39408: Breakpoints don't work with M-x gdb under TRAMP
Date: Sat, 01 May 2021 11:59:07 +0200	[thread overview]
Message-ID: <87tunmai6s.fsf@gmx.de> (raw)
In-Reply-To: <CANh=_JEGHi3VCcAyrQmA1sY9QyEywemJos2VTXxLOMhxauK0yw@mail.gmail.com> (Jim Porter's message of "Thu, 15 Apr 2021 22:02:01 -0700")

Version: 27.3

Jim Porter <jporterbugs@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.





      reply	other threads:[~2021-05-01  9:59 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
2020-08-21 14:08   ` Michael Albinus
2021-04-16  5:02 ` Jim Porter
2021-05-01  9:59   ` 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=87tunmai6s.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=39408-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).