From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63084: closed (Re: bug#64186: Patch: Suppress deprecated '-gdb-set target-async' warning message in gdb-mi.el) Date: Thu, 13 Jul 2023 09:26:07 +0300 Message-ID: <83a5w05nuo.fsf@gnu.org> References: <83sfa1ikhc.fsf@gnu.org> <874jp3n52b.fsf@home.mail-host-address-is-not-set> <83sf9u7i05.fsf@gnu.org> <83jzv67885.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5433"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63084@debbugs.gnu.org To: TatriX Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 13 08:26:31 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 1qJpmY-0001F8-6H for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Jul 2023 08:26:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJpmC-0001mN-RK; Thu, 13 Jul 2023 02:26:08 -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 1qJpm6-0001m3-CU for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 02:26:02 -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 1qJpm6-0001IG-3A for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 02:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qJpm5-00084a-UP for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 02:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Jul 2023 06:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63084 X-GNU-PR-Package: emacs Original-Received: via spool by 63084-submit@debbugs.gnu.org id=B63084.168922955931024 (code B ref 63084); Thu, 13 Jul 2023 06:26:01 +0000 Original-Received: (at 63084) by debbugs.gnu.org; 13 Jul 2023 06:25:59 +0000 Original-Received: from localhost ([127.0.0.1]:53243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJpm3-00084K-Iv for submit@debbugs.gnu.org; Thu, 13 Jul 2023 02:25:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJpm1-000847-Te for 63084@debbugs.gnu.org; Thu, 13 Jul 2023 02:25:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJplw-0001FW-Ha; Thu, 13 Jul 2023 02:25:52 -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=xd94OgUWxvayBZcPwbO/XY2u/Z04sKAuT2Ytn3PEv/8=; b=CyztdY7pMkfL uoxL9sGLWKzzqYo9mxf26Q8Rwvyn6qKQFMMgv66pbQ6/vUsAsnYekjPMdOjOFokBOVb8MpUiYMf9p +okQl2yazEOcMgDYJj4yUAf6ucRHGZkbJyZVUU4X6SdbdfKoekxfkAB4fs7R3bkNBU84Ha8+b7Ch/ dfFGgOdtw8+wLLs/X7HaiakfK3OrgRP10k4Xr4e89qLA3w+2GgjYgKMgyIl8ysXUP0YjS0+tsqoTK T0W07/fsiKPHgiYkz3HbJbpopO1uiSC4i8ZmGqQ0gwlCGrfAv1oxaa5Q2p4II+Ld8HvqFqDjBwE4a yzKB/81gB9XfUyPjn/+ghQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJplv-0005tv-Uk; Thu, 13 Jul 2023 02:25:52 -0400 In-Reply-To: (message from TatriX on Tue, 11 Jul 2023 19:49:15 +0200) 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:265004 Archived-At: > From: TatriX > Date: Tue, 11 Jul 2023 19:49:15 +0200 > Cc: 63084@debbugs.gnu.org > > > So what doesn't work, and how does it not work? > Did a few more tests to see what actually happens. > I'm running the same code as before in "emacs -Q" > > run & > C-x C-a C-b ;; sets breakpoint successfully > C-x C-a C-d ;; removes breakpoint > > c & > After that program continues, but 'gud-running' is now t, even if I "> > kill" the program and "> run&" it again. So it's a separate problem: some code sets gud-running even though this is async mode. Can you figure which function sets gud-running when you type "c&"? My first suspect is gdb-starting, because it sets gud-running unconditionally instead of doing this: (when (not gdb-non-stop) (setq gud-running t)) like gdb-running does. The other suspect is gdb-update-gud-running.