GNU bug report logs - #40279
26.3; Error: you did not specify -i=mi on GDB's command line!

Previous Next

Package: emacs;

Reported by: Roland Coeurjoly <rolandcoeurjoly <at> gmail.com>

Date: Sun, 29 Mar 2020 17:12:02 UTC

Severity: normal

Tags: moreinfo

Merged with 28309

Found in version 26.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Roland Coeurjoly <rolandcoeurjoly <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 40279 <at> debbugs.gnu.org
Subject: Re: bug#40279: 26.3; Error: you did not specify -i=mi on GDB's
 command line!
Date: Mon, 26 Oct 2020 22:07:16 +0100
[Message part 1 (text/plain, inline)]
>
> Like I said, I know nothing about Docker, but my totally uninformed
> guess would be that something in that command line mangles the output
> from gdb, somehow, so that Emacs is no longer able to parse it.


Yes, that seems to be the case.

I posted this in stackoverflow here:
https://stackoverflow.com/questions/60112087/error-you-did-not-specify-i-mi-on-gdbs-command-line-in-docker

Would that be ok just to provide the link?

On Mon, Oct 26, 2020 at 10:01 PM Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

> Roland Coeurjoly <rolandcoeurjoly <at> gmail.com> writes:
>
> > Yes, the problem is that it doesn't split the frame in different
> windows, and nothing
> > good happens.
> >
> > I need to run gdb inside Docker, and I have a strong preference for the
> interface
> > provided by emacs.
> >
> > When doing M-x gdb, I enter "docker-compose -f
> > ~/docker-services/dev/docker-compose.yml exec dev_rhel7 bash -c "gdb
> -i=mi"",
> > and then it shows me the following message.
>
> Like I said, I know nothing about Docker, but my totally uninformed
> guess would be that something in that command line mangles the output
> from gdb, somehow, so that Emacs is no longer able to parse it.
>
> It's hard to tell, since you're posting via Gmail, as HTML, and the
> output examples you include have been mangled beyond recognition.
>
> Perhaps try including them as attachments?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>
[Message part 2 (text/html, inline)]

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

Previous Next


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