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#64186: Patch: Suppress deprecated '-gdb-set target-async' warning message in gdb-mi.el Date: Tue, 20 Jun 2023 15:24:03 +0800 Message-ID: <87pm5q4mwc.fsf@yahoo.com> References: 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="29555"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 64186@debbugs.gnu.org To: Wang Diancheng Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 20 09:25:34 2023 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 1qBVk6-0007aj-HP for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Jun 2023 09:25:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBVji-0006jI-3j; Tue, 20 Jun 2023 03:25:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBVjb-0006hP-EJ for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 03:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBVja-0007Rg-9f for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 03:25:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBVja-0004ID-4B for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2023 03:25: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: Tue, 20 Jun 2023 07:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64186 X-GNU-PR-Package: emacs Original-Received: via spool by 64186-submit@debbugs.gnu.org id=B64186.168724586416453 (code B ref 64186); Tue, 20 Jun 2023 07:25:02 +0000 Original-Received: (at 64186) by debbugs.gnu.org; 20 Jun 2023 07:24:24 +0000 Original-Received: from localhost ([127.0.0.1]:57903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBVix-0004HJ-Ri for submit@debbugs.gnu.org; Tue, 20 Jun 2023 03:24:24 -0400 Original-Received: from sonic308-56.consmr.mail.ne1.yahoo.com ([66.163.187.31]:41116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBViv-0004H2-Ff for 64186@debbugs.gnu.org; Tue, 20 Jun 2023 03:24:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1687245854; bh=K+zXryKN/qWgQSD12EGCsXPfOjt3r9jvP7YtbwK9HNU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=JxnQkzMaJXizMqjYaWirMY67ddOl/FyHjH691zYg+ksoqkb8Dt4i8nNtPr3Yo4A/aGEIFY6gC21xwAbI8dBZl4j4qiO/aAVfyJtMISxPjYJY+sX4sCMInfW8NgpfXUsfYUmwaW8LMB2it6cagJsIshIMpQNbJhrUXOo6fWTwGRp0MzB1qZllOTG4MVC3lhYCTzYoNuCSbro+VfwYqi0DAOA3d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MhaepR.rsQ_Nyp9C m.kB_BPbKbQAPfHgv5OzyIEBONNz0PefhbtwvEIljH.rSWkt39TPzqxzzM3Oo_s159B863yRJdet sF8uPyXnyuuHQTax8v0Mr0AKWg4w5D_UzwaezMBa0NNEjZYhTuEWxyR37SoFeP_KLQ3..VK0nFy4 rUYiwPGA1xNHiRBrrA9Mm2ma_PZqYHb80bY2NnqT352sH.RPD3yYHaA4jOKPYR.mmhHqcvFaVVeM E0smP4iP8Yci.JY8Xik3kw5_t.9jPEuVDGiWNwhpcSn2lmn.jIceXqT84ZNup_lCbPyIJcvChH6P i0QwasBC3WE4tHqjwsmQZ3zzbY8nGWy0DMYINY.UDc1SJTrbBPBH9DbGRI.A9rqiK7Nt8VPEQ9xg 7.Ugt8cFYdIx1NGhZ3WYv1iH1I4jRPy156cOVaUAIr X-Sonic-MF: X-Sonic-ID: 014a124e-ffed-4834-8a52-4d3d9c9437c1 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Tue, 20 Jun 2023 07:24:14 +0000 Original-Received: by hermes--production-sg3-748897c457-fqxqz (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a88c2f4a83e328f107a9711169934535; Tue, 20 Jun 2023 07:24:09 +0000 (UTC) In-Reply-To: (Wang Diancheng's message of "Tue, 20 Jun 2023 10:21:48 +0800") X-Mailer: WebService/1.1.21557 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263738 Archived-At: Wang Diancheng writes: > Hi, > > The command "-gdb-set target-async" is deprecated since gdb 7.7, It is > annoyed that there is a message "Warning: 'set target-async', an alias for > the command 'set mi-async', is deprecated. Use 'set mi-async'." when gdb > buffer is ready for command. Following is a patch to suppress that > warning. > > Thanks. What about versions of GDB earlier than 7.7? We should detect them, and use `set mi-async' there.