bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Roland Coeurjoly
Subject: 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

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@gnus.org> wrote:
Roland Coeurjoly <rolandcoeurjoly@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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]