From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Roland Coeurjoly Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <87ft61134a.fsf@gnus.org> <87a6w8vh0j.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000060eaf305b299517c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27994"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40279@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 26 22:08:35 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kX9jH-00079I-5m for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 26 Oct 2020 22:08:35 +0100 Original-Received: from localhost ([::1]:54852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kX9jG-0005DE-8J for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 26 Oct 2020 17:08:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kX9im-0005Bs-CS for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2020 17:08:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58344) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kX9ik-00065f-MQ for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2020 17:08:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kX9ik-0008Ne-G0 for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2020 17:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Roland Coeurjoly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Oct 2020 21:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40279 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 40279-submit@debbugs.gnu.org id=B40279.160374645632179 (code B ref 40279); Mon, 26 Oct 2020 21:08:02 +0000 Original-Received: (at 40279) by debbugs.gnu.org; 26 Oct 2020 21:07:36 +0000 Original-Received: from localhost ([127.0.0.1]:41657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kX9iJ-0008Mv-UK for submit@debbugs.gnu.org; Mon, 26 Oct 2020 17:07:36 -0400 Original-Received: from mail-oi1-f179.google.com ([209.85.167.179]:42131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kX9iI-0008Mi-3y for 40279@debbugs.gnu.org; Mon, 26 Oct 2020 17:07:35 -0400 Original-Received: by mail-oi1-f179.google.com with SMTP id c72so2529583oig.9 for <40279@debbugs.gnu.org>; Mon, 26 Oct 2020 14:07:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xwWAOXOlF0Oa1Jv6jSitbJM9IFoY9K/Vd0iILzYWAHM=; b=W444mF61unQIGE0tFCkKdiZ5SrSJ61d8SG2PZvq6n3cRzoDDl3iCWQ8VCUN8UvrJFx zKdhc6n6vl2/PAA73aBm8haot81tpQZZRiV6lgN+igNiAYf6aYeozXdJN+EBdPOQx/Ny 7EpoyqGPcHafBwNGFZBO19eSPWjc4rYrVOVE3codVBWUOASZKDxujwG2jIRliKHYUGil nUI+7Pzm3P4VvqdD4vELyXiwckJbiRhoo488GKbBMwP8OIqtafVMdV9U9s4qcJcXjBqF AX4TmmWqj4wHjIICuV2629IhWfJikvvZfAZ7tLY4AUg9+lWGBI5W54TqX0mZtoffhyZk 8dGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xwWAOXOlF0Oa1Jv6jSitbJM9IFoY9K/Vd0iILzYWAHM=; b=caQpiI5HFvgNknurLpp46PRZSTaaSAgOHa13FQ4cfNdo2/cHB9EOu+NIergNydYwzY Ii3A9ud7rW4eNTkOGLkSuVKRm/WIT2qBNGVE/sxeMRA6GJ9T05dEwMhfw8O4gz78EA8J E2aiTNwI3ULEFUX/pVQVwQCWRjh7ZCmsyyb4tqMe7bAizMfzg2T0DGan1EXpdaI0Gab0 XpmkemcYj+8yeTxGL0IEn9mn5lre2VSuNc2WBY/vzh0qpsnEBLz0YQ7b9cKxV6Csz5OO 9mbaBdlThHHuScnnYfNTos/OMUkJgWilpAcBeWL7lyglH96JaCNGN9oB2kLMO1J9eSmz HJnQ== X-Gm-Message-State: AOAM533zDf65HHACe5MAYs/Ho3QD0W8hT3Q87AnjSA1fOifGJ7Gka7YK fAOGYA7xuMYHsrqAr/2To7jSbPvvclhnub5qRoc= X-Google-Smtp-Source: ABdhPJw0y7bVNs3DjYJVA97k/iec4p2DTJAbqUpLRKkgS2fIQboqKpdp39M7zW8tcCaU//vtKYv2sbHpgYaEdNfKR6Y= X-Received: by 2002:aca:51c5:: with SMTP id f188mr4566326oib.146.1603746448598; Mon, 26 Oct 2020 14:07:28 -0700 (PDT) In-Reply-To: <87a6w8vh0j.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191662 Archived-At: --00000000000060eaf305b299517c Content-Type: text/plain; charset="UTF-8" > > 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 wrote: > Roland Coeurjoly 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 > --00000000000060eaf305b299517c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Like I said, I know nothing about Docker, but my totally uninfor= med
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-spe= cify-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 w= indows, and nothing
> good happens.
>
> I need to run gdb inside Docker, and I have a strong preference for th= e 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=3Dmi"",
> 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.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--00000000000060eaf305b299517c--