From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56810: 29.0.50; 'set target-async' is deprecated in M-x gdb and more Date: Thu, 28 Jul 2022 16:36:56 +0800 Message-ID: <87mtctr5uf.fsf@yahoo.com> References: <878roden6q.fsf@gmail.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25330"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 56810@debbugs.gnu.org To: Zhiwei Chen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 28 10:54:56 2022 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 1oGzIG-0006PI-Ep for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jul 2022 10:54:56 +0200 Original-Received: from localhost ([::1]:58550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGzIF-0003qe-Bm for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jul 2022 04:54:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGz25-0004xp-EP for bug-gnu-emacs@gnu.org; Thu, 28 Jul 2022 04:38:14 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39563) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGz1u-0003IT-IX for bug-gnu-emacs@gnu.org; Thu, 28 Jul 2022 04:38:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oGz1u-0005GC-FM for bug-gnu-emacs@gnu.org; Thu, 28 Jul 2022 04:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jul 2022 08:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56810 X-GNU-PR-Package: emacs Original-Received: via spool by 56810-submit@debbugs.gnu.org id=B56810.165899743620156 (code B ref 56810); Thu, 28 Jul 2022 08:38:02 +0000 Original-Received: (at 56810) by debbugs.gnu.org; 28 Jul 2022 08:37:16 +0000 Original-Received: from localhost ([127.0.0.1]:57545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGz1A-0005F0-7w for submit@debbugs.gnu.org; Thu, 28 Jul 2022 04:37:16 -0400 Original-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 ) id 1oGz17-0005Ej-I9 for 56810@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.VSYct2fmImsAepvXTnkkk1fM26RFyLlV9c8NExxO7v9p74k10yqSArj4DDnJ8o7hM qXivb.n3DMNizF4Eu5hv2vkEksupVtumn2XXFz63TT3ZamBtwnAqfbmhlmLqYGgRs2w5SDckZ2y3 Fg1PDq19RVE9G5e2gm3IVzWkyWx920P_w9atZClNv.gRyjKa19TnfzmTgpxpPeg07t2rtM_RO7nx tMHf6TFc9Fh9ts4i3rSVa4Zq2XDrKTildVmur8KqWbqfxm4rnKlbQLsnoX2ODBxyYTIpcdi_x_hw rkDGNaVXItpWZ0r5ALjAw53XmfjuPAY06rCdac9CkF1NZk3TkwuFCugD5rR69vyYVTon7I4pyc43 IEMpUrP5JVaF8JNJZ8N9tWjMLzbaJcbYj7ulsKTBAfYbzcIlEs9KM3DkArO90dF3kQ1k_qFqX91q EBllWGDOxVdS2PBiYig4vcp0VclaCakDEQNiFis6LVskSpPSXRGcEGoS213apvUjV_MfHUvE6B0g X1ysF.tGvMpDrr5TPBYEGQkcUJWSwyQt47lsN4H7YF X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Thu, 28 Jul 2022 08:37:05 +0000 Original-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) In-Reply-To: <878roden6q.fsf@gmail.com> (Zhiwei Chen's message of "Thu, 28 Jul 2022 15:00:45 +0800") X-Mailer: WebService/1.1.20447 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:238082 Archived-At: Zhiwei Chen 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?