GNU bug report logs - #56810
29.0.50; 'set target-async' is deprecated in M-x gdb and more

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Zhiwei Chen <condy0919@HIDDEN>; dated Thu, 28 Jul 2022 07:01:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'minor' from 'normal' Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 56810 <at> debbugs.gnu.org:


Received: (at 56810) by debbugs.gnu.org; 28 Jul 2022 09:22:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 28 05:22:45 2022
Received: from localhost ([127.0.0.1]:57602 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oGzjB-0006aw-CR
	for submit <at> debbugs.gnu.org; Thu, 28 Jul 2022 05:22:45 -0400
Received: from eggs.gnu.org ([209.51.188.92]:48880)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1oGzj7-0006ag-Co
 for 56810 <at> debbugs.gnu.org; Thu, 28 Jul 2022 05:22:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:46940)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1oGzix-0005J6-84; Thu, 28 Jul 2022 05:22:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=4YFePRixqzRhHvuUEx3hVXDf8Mws774k/CV550fRREQ=; b=XLGgXXKCG7Uc
 jFMr9gGldYt0bgebze2mejywvdFHAo4cZ7lJpuEMJcWNJefnRx7DZnNI4mwMP2vsy+/YKIklLHh+o
 cpeiNbd7LiIRwIpZp7Y0IrtAAjMDZ+7LgIxCqbDFyE+QmWkh0FlMfh6CvaL0A+OGMiqBGJ0xc1i9f
 lKstrVCJbKcyA6j6ZWJh+JQ/JyENaOklDN0YE3onDXpiHp438uCJNLMS+An2WgZtEDT0uciiMXGac
 +1wf6DMFWezWLm7bDsB8UaX5BYBjHDZ/nG+fL1jFtlDKOgq0k6YHD5os44++2fo7lVdVQzhlPA6gQ
 FB1eLHdM8+d8HEzyESklhw==;
Received: from [87.69.77.57] (port=3860 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1oGziw-000407-5D; Thu, 28 Jul 2022 05:22:30 -0400
Date: Thu, 28 Jul 2022 12:22:39 +0300
Message-Id: <834jz1a8ww.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87mtctr5uf.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#56810: 29.0.50;
 'set target-async' is deprecated in M-x gdb and more
References: <878roden6q.fsf@HIDDEN> <87mtctr5uf.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 56810
Cc: condy0919@HIDDEN, 56810 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: 56810 <at> debbugs.gnu.org
> Date: Thu, 28 Jul 2022 16:36:56 +0800
> From:  Po Lu via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> I can't seem to figure out how to get the GDB version using a GDB-MI
> command.  Any ideas?

You want -gdb-version, I believe.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#56810; Package emacs. Full text available.

Message received at 56810 <at> debbugs.gnu.org:


Received: (at 56810) by debbugs.gnu.org; 28 Jul 2022 08:37:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 28 04:37:16 2022
Received: from localhost ([127.0.0.1]:57545 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oGz1A-0005F0-7w
	for submit <at> debbugs.gnu.org; Thu, 28 Jul 2022 04:37:16 -0400
Received: from sonic305-20.consmr.mail.ne1.yahoo.com ([66.163.185.146]:42874)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1oGz17-0005Ej-I9
 for 56810 <at> debbugs.gnu.org; Thu, 28 Jul 2022 04:37:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1658997425; bh=uiY8nod3pjaPH+CL8OwYKu3yKYhbfTKNBqd9Pfd3BHQ=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=TfcfQVGMpM0Xn2+bRIYSUoQhFFp5zw5jryqa256e+arNww7uLdK7bhVCwKAJp4UwUh14oUPYNCSd6Tms8BISpuGYLa1gjNtzEn3eGaNb+l08pH4LmNK5xFXNW2GNyOCRaXdYYKG5kiNrU4XPuxXKRvCyDf0nMVosUxb8b++6/ffaADDMIDUXMFWCePbds+hQgDO3FpsUVkrAvrzbN3dgqQrK7BwDpyAb0q+eMD3T7s63eq375kTWS/VLLuRmvoff7qDK/UNSDq5qT5fogLPjBJW4ifMX+jg81J7Nd1ou41n4id3PPjqWsGget2tIIYfyV/nEu3kyYZ/XuNFNUxh7VA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1658997425; bh=LhhSxGAHfbqzOOpoNyQiqOhgxHbpD8qrwZq8PQ+DAcS=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=P9v2mAS3qn4rka0bl45ll3oTReLKWC9cWHcidQ4vDfko3/In70HC14CdGfzMyURZO6yTGWT66XqZNLglVVHsC5TrLXbZUIVNLqDdLRzCeFtvAc+rhfvUVXQdSZeW0F+dQo07KZyj+7RGTp0QEr9btzxuhvnR6aWA6x85FV7n6EecaulqAlIaLB8H7hZgMK32FNmNTGCuAlOZyfOhQibzOTfvtnHPc160s2zjQFOa1cdJUfsODDGypRv1J5phbg+vkKlJJLIcHYNKiNfeB3x99csjZF8n/4iF+6f8GJ7zSvFb8sTGJ4pUrHxGxbnD9UdGrq0qhIrsQo4DoO9bmoprvw==
X-YMail-OSG: Z.WuKlUVM1nWuwUC8oYXlvZGF5CETH0z3TTgEKJTHw7X6LcMLSOYruS3KnGd0Ex
 QD9tMZW6osLjAsbzvtgzysBJ31U3AxW9cPP2LyVQhCZd.qGfmkv89dIj_r1DqPOr1OrACefYxJos
 97lasHMQ79MKJltwF9GdRyEghYIHIkn3cWqwUt5tR05njnncvqbotrUip1LTBeJ3WCa_6zvpVUuN
 .eOlUu.oaAxBq66uH0NdsOqSF0ScW9qUFsz9zwjxNVKpP07HGkBu1BGaIXBOfSJipSjSv31OP0j.
 U1zx_cZxLQ.VS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1.yahoo.com with HTTP; Thu, 28 Jul 2022 08:37:05 +0000
Received: by hermes--canary-production-sg3-854c886654-8kdzs (Yahoo Inc. Hermes
 SMTP Server) with ESMTPA ID 885295c6182c4708b611682c22e27e85; 
 Thu, 28 Jul 2022 08:37:03 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Zhiwei Chen <condy0919@HIDDEN>
Subject: Re: bug#56810: 29.0.50; 'set target-async' is deprecated in M-x gdb
 and more
References: <878roden6q.fsf@HIDDEN>
Date: Thu, 28 Jul 2022 16:36:56 +0800
In-Reply-To: <878roden6q.fsf@HIDDEN> (Zhiwei Chen's message of "Thu, 28 Jul
 2022 15:00:45 +0800")
Message-ID: <87mtctr5uf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.20447
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 592
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 56810
Cc: 56810 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Zhiwei Chen <condy0919@HIDDEN> writes:

> gcc a.cc -o a.out
>
> where a.cc is a hello world program.
>
>     emacs -Q
>     M-x gdb RET
>
> You will see such a warning:
>
> (gdb) Warning: 'set target-async', an alias for the command 'set mi-async', is deprecated.
> Use 'set mi-async'.
>
> The option mi-async was introduced in 2014 [1], so I thought using "set
> mi-async" is safe enough in wild.

GDB before 7.7 is still used in the wild, so I'd rather not break
support for those old versions.

I can't seem to figure out how to get the GDB version using a GDB-MI
command.  Any ideas?





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#56810; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Jul 2022 07:00:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 28 03:00:58 2022
Received: from localhost ([127.0.0.1]:57472 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oGxVx-0002Qs-N3
	for submit <at> debbugs.gnu.org; Thu, 28 Jul 2022 03:00:58 -0400
Received: from lists.gnu.org ([209.51.188.17]:56008)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <condy0919@HIDDEN>) id 1oGxVt-0002Qe-2s
 for submit <at> debbugs.gnu.org; Thu, 28 Jul 2022 03:00:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34028)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <condy0919@HIDDEN>)
 id 1oGxVs-0007F7-Lr
 for bug-gnu-emacs@HIDDEN; Thu, 28 Jul 2022 03:00:52 -0400
Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:41559)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <condy0919@HIDDEN>)
 id 1oGxVq-0002zN-OV
 for bug-gnu-emacs@HIDDEN; Thu, 28 Jul 2022 03:00:52 -0400
Received: by mail-pl1-x635.google.com with SMTP id v18so1014910plo.8
 for <bug-gnu-emacs@HIDDEN>; Thu, 28 Jul 2022 00:00:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:mime-version;
 bh=SiBEVLZ/bSrWbln7mat30XJY1Bt+SPDijXvyh/ssSyw=;
 b=qYPoT5oA9+iH+47PIkeQZH8VGJK3Ytagz7sgg9Nsgkn8AJHpYvuANDe/OU2TBT7MaJ
 SEnXkoZ/kAL52eD33eBAxtXwk0BWBbnZGSiKcudGi8XovE96n4UJ1U47bCqvaryBEVaa
 czoXs3E8sikeoBk6Oy2eLAkolNYT2X0pPoXNZI5SYzdfFSHrTuAUqBV52/al4mOOfiiB
 jUQ1NS5jt+UOF8nCwjJVoRCfEJkGlf5ejmf7eZsTVVoIqZv7RgpRZtKhbnNwmxtOCJDR
 o4zF7p+Pypu5HmD6g2RO6pQjd8LkPn55tx1dvuMBLuLVkZt0aeRVrEHEMzGdJ7T6OxCJ
 K8cg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=SiBEVLZ/bSrWbln7mat30XJY1Bt+SPDijXvyh/ssSyw=;
 b=pGaEMCxQGMwGv+YGou9OJ4LTmvBQj3rJy5h6bKCVD8UxanieY0wJer2jiRlAGqlPrI
 aQ7jnJJA1c35exo9uTr33AxfTQW4tzVqGmrlNbGSOh2OxgRGEiXAMrQhcAq0Vhf0UX9v
 Uz5freSC2UQ3efXP2hXjhZAwXL22wj8n8ok0UcyJt2wfzqmBijgUezosN7FMa4mxpkMX
 Ud9xzYDpL2bDSDSe6a2Y/0UuCKQeZ3il8b9P4ueWVkeYjixAhf2Ud8xa7cWA2N7oHuKu
 U1BykXWt3k69gbpjpTfIa4DKZNR7QCslqitCQLmajohQjEDalWGi2/RZSydls8uVVvNW
 ue1A==
X-Gm-Message-State: AJIora/mCvnSlWkRGYSjZQFWS9tZrnf0hRuofX/q4EeLgnpmslI84jMR
 roydfrSKnECN2GCOMwyRp+NlQ/2HPOE=
X-Google-Smtp-Source: AGRyM1s1aD8Ne1bh3Vzcwl4QPKx2TQQEhx/yuci4Sbr++snTCI7kRzZ8kjwzReZ1ALc9cHb0NrEMMA==
X-Received: by 2002:a17:90b:1b45:b0:1f3:1974:eb8 with SMTP id
 nv5-20020a17090b1b4500b001f319740eb8mr3380781pjb.200.1658991648218; 
 Thu, 28 Jul 2022 00:00:48 -0700 (PDT)
Received: from Youmu (192.69.92.236.16clouds.com. [192.69.92.236])
 by smtp.gmail.com with ESMTPSA id
 186-20020a6214c3000000b00525496442ccsm11135358pfu.216.2022.07.28.00.00.47
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 28 Jul 2022 00:00:47 -0700 (PDT)
From: Zhiwei Chen <condy0919@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.50; 'set target-async' is deprecated in M-x gdb and more
Date: Thu, 28 Jul 2022 15:00:45 +0800
Message-ID: <878roden6q.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::635;
 envelope-from=condy0919@HIDDEN; helo=mail-pl1-x635.google.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

gcc a.cc -o a.out

where a.cc is a hello world program.

    emacs -Q
    M-x gdb RET

You will see such a warning:

(gdb) Warning: 'set target-async', an alias for the command 'set mi-async', is deprecated.
Use 'set mi-async'.

The option mi-async was introduced in 2014 [1], so I thought using "set
mi-async" is safe enough in wild.

Another bug is the latest gdb supports debuginfod, which allows users
download debuginfo from an http server. When the environment variable
'DEBUGINFO_URLS' is set, let gdb run in terminal, it will prompt

    This GDB supports auto-downloading debuginfo from the following URLs:
    https://debuginfod.archlinux.org
    Enable debuginfod for this session? (y or [n])

But M-x gdb will unconditionally type 'y' for us

    Debuginfod has been enabled.
    To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.

The only workaround is

    echo 'set debuginfod enabled off' >> ~/.gdbinit

It's inconvenient. IMHO, M-x gdb should handle this case.


[1]: https://lists.gnu.org/archive/html/info-gnu/2014-07/msg00015.html

-- 
Zhiwei Chen




Acknowledgement sent to Zhiwei Chen <condy0919@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#56810; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 4 Aug 2022 14:00:02 UTC

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