From unknown Sun Aug 17 09:10:57 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6072 <6072@debbugs.gnu.org> To: bug#6072 <6072@debbugs.gnu.org> Subject: Status: 24.0.50; Problems with M-x gdb on MS-Windows Reply-To: bug#6072 <6072@debbugs.gnu.org> Date: Sun, 17 Aug 2025 16:10:57 +0000 retitle 6072 24.0.50; Problems with M-x gdb on MS-Windows reassign 6072 emacs submitter 6072 Eli Zaretskii severity 6072 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 01 14:09:33 2010 Received: (at submit) by debbugs.gnu.org; 1 May 2010 18:09:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8H88-0000IA-VP for submit@debbugs.gnu.org; Sat, 01 May 2010 14:09:33 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8H86-0000I5-Kn for submit@debbugs.gnu.org; Sat, 01 May 2010 14:09:31 -0400 Received: from lists.gnu.org ([199.232.76.165]:45970) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O8H81-0006Cs-Vz for submit@debbugs.gnu.org; Sat, 01 May 2010 14:09:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8H81-0002RA-Gj for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 14:09:25 -0400 Received: from [140.186.70.92] (port=34599 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8H7z-0002QU-JM for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 14:09:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8H7w-0003Nw-Q4 for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 14:09:23 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:57067) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8H7w-0003Nr-CQ for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 14:09:20 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L1R00G006AUOC00@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 21:07:59 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.59.39]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L1R00B1W6D9RKD0@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Sat, 01 May 2010 21:07:59 +0300 (IDT) Date: Sat, 01 May 2010 21:08:00 +0300 From: Eli Zaretskii Subject: 24.0.50; Problems with M-x gdb on MS-Windows X-012-Sender: halo1@inter.net.il To: bug-gnu-emacs@gnu.org Message-id: <838w83wl4v.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.5 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.5 (----) This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': With today's repository: emacs -Q M-x gdb RET C-a C-k gdb --i=mi ../lib-src/oo-spd/i386/ctags.exe RET In the GUD buffer, type (gdb) start --help This is what I see: Current directory is d:/gnu/bzr/emacs/test/lib-src/oo-spd/i386/ GNU gdb (GDB) 7.1 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "mingw32". For bug reporting instructions, please see: ... Reading symbols from d:/gnu/bzr/emacs/test/lib-src/oo-spd/i386/ctags.exe...done. (gdb) start --help Temporary breakpoint 1 at 0x408eab: file ctags.c, line 1093. The target does not support running in non-stop mode. <<<<<<<<< Problem #1: Why does it try to start in non-stop mode without checking first? Workaround: (gdb) set non-stop off Problem #2: The mode line says "Debugger:run [unknown]". Why the "unknown" part? Problem #3: (gdb) q A debugging session is active. Inferior 1 [process 5972] will be killed. Quit anyway? (y or n) [answered Y; input not from terminal] So it claims that it got the answer Y, so it was supposed to kill the inferior, but when I try to exit Emacs with C-x C-c, it says: Active process exist; kill them and exit anyway (yes or no)? and shows me the "*Process List*" buffer with this contents: Proc Status Buffer Command ---- ------ ------ ------- gdb-inferior run (Killed) None of these problems are visible in Emacs 23.1.96 with the same version of GDB. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file d:/gnu/bzr/emacs/test/etc/DEBUG. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-05-01 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x g r e p C-a f C-e P O S I X _ S Y G N A L I G N A L S R C-e SPC . . / s r c SPC - - i n c l u d e = " * . [ c h ] " C-x o C-x 0 C-x C-f r e M-x f l y s p e m o C-e s C-/ M-x g d b M-x SPC l i b - s . . / l i b - s o o - i c t a e s t a r t SPC - - h e l p y s e t SPC n o n f f s t a r t SPC - - h e l p n M-x r e p o r t Recent messages: goto-history-element: End of history; no default available [3 times] goto-history-element: Beginning of history; no preceding item [2 times] goto-history-element: End of history; no default available goto-history-element: Beginning of history; no preceding item Quit The target does not support running in non-stop mode. Please type y, n, or !: Completed Partially completed Switched to thread 1 Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs help-mode easymenu view gdb-mi bindat json gud easy-mmode flyspell ispell vc-bzr sha1 hex-util grep compile comint regexp-opt ring tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 23 07:32:25 2019 Received: (at 6072) by debbugs.gnu.org; 23 Oct 2019 11:32:25 +0000 Received: from localhost ([127.0.0.1]:32820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNEsK-0000aM-Gc for submit@debbugs.gnu.org; Wed, 23 Oct 2019 07:32:24 -0400 Received: from mail-pf1-f177.google.com ([209.85.210.177]:38273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNEsG-0000Uw-PT for 6072@debbugs.gnu.org; Wed, 23 Oct 2019 07:32:21 -0400 Received: by mail-pf1-f177.google.com with SMTP id c13so1551190pfp.5 for <6072@debbugs.gnu.org>; Wed, 23 Oct 2019 04:32:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=BKA+ElWCg0faPp2aGrMAMRr04hHFlTw9oIcQUTqbDuk=; b=Wp4pS5KdVlaQgVK5aOSBUCelC4enONUcSPn46Ev7h05Twkw5N5b2Iu15tICzUWDrmb kJJHMGc94D0Bax/TNuxnvrcXBnB7TlOs7LEo7COuCxJuV4vzHXLBEMxYYx4igSULgSEw W6feTNCClsXZ98bLbAw+Hazq+eGuaAHp7NZAvU7BTJINdaWbKslkM1Km8FbRTXWsbwAc lAMusoskGFeZx4LQx27hxtDpf3T8IYFvQVfvB1qKDCySjU83YE7WcQbminMcZq3Ervj3 kf1GfJuk9WjiqIDFc/pnamHAUB290qakmYCghe1dzcnw0Af8qgsjW46K9g+rO45DxY0r 6MuA== X-Gm-Message-State: APjAAAXLO3PNTtSqE1yRV5cCv+WMOQyxRMVHJFpRKpr61GekP8kfyNx6 DfxNh7Ic3JEiFi/HhUbQdIHN6QSYBArAS55m0iLfJ3G6 X-Google-Smtp-Source: APXvYqzGbLuIpvScf8xeWm0dolVvkk3OEhmPKTq+y2aajOJk4k4jWRtsm9Ko6mEMgjtQaM6deIjswZ2XYZ4yY6PN+OQ= X-Received: by 2002:a63:4046:: with SMTP id n67mr8702904pga.200.1571830334832; Wed, 23 Oct 2019 04:32:14 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Wed, 23 Oct 2019 13:32:03 +0200 Message-ID: Subject: Re: bug#6072: 24.0.50; Problems with M-x gdb on MS-Windows To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 6072 Cc: 6072@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Hi Eli, Below is a 9 year old bug report of yours, which never got a reply at the time. A lot of water has flowed under the bridge since then, so: is this still an issue? Best regards, Stefan Kangas Eli Zaretskii writes: > With today's repository: > > emacs -Q > M-x gdb RET C-a C-k gdb --i=mi ../lib-src/oo-spd/i386/ctags.exe RET > > In the GUD buffer, type > > (gdb) start --help > > This is what I see: > > Current directory is d:/gnu/bzr/emacs/test/lib-src/oo-spd/i386/ > GNU gdb (GDB) 7.1 > Copyright (C) 2010 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "mingw32". > For bug reporting instructions, please see: > ... > Reading symbols from d:/gnu/bzr/emacs/test/lib-src/oo-spd/i386/ctags.exe...done. > (gdb) start --help > Temporary breakpoint 1 at 0x408eab: file ctags.c, line 1093. > The target does not support running in non-stop mode. <<<<<<<<< > > Problem #1: Why does it try to start in non-stop mode without checking > first? > > Workaround: > > (gdb) set non-stop off > > Problem #2: The mode line says "Debugger:run [unknown]". Why the > "unknown" part? > > Problem #3: > > (gdb) q > A debugging session is active. > > Inferior 1 [process 5972] will be killed. > > Quit anyway? (y or n) [answered Y; input not from terminal] > > So it claims that it got the answer Y, so it was supposed to kill the > inferior, but when I try to exit Emacs with C-x C-c, it says: > > Active process exist; kill them and exit anyway (yes or no)? > > and shows me the "*Process List*" buffer with this contents: > > Proc Status Buffer Command > ---- ------ ------ ------- > gdb-inferior run (Killed) > > None of these problems are visible in Emacs 23.1.96 with the same > version of GDB. > > If Emacs crashed, and you have the Emacs process in the gdb debugger, > please include the output from the following gdb commands: > `bt full' and `xbacktrace'. > For information about debugging Emacs, please read the file > d:/gnu/bzr/emacs/test/etc/DEBUG. > > > In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) > of 2010-05-01 on HOME-C4E4A596F7 > Windowing system distributor `Microsoft Corp.', version 5.1.2600 > configured using `configure --with-gcc (3.4)' From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 24 12:41:01 2019 Received: (at 6072-done) by debbugs.gnu.org; 24 Oct 2019 16:41:01 +0000 Received: from localhost ([127.0.0.1]:36858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNgAW-00062B-VG for submit@debbugs.gnu.org; Thu, 24 Oct 2019 12:41:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNgAU-00061v-Ji for 6072-done@debbugs.gnu.org; Thu, 24 Oct 2019 12:40:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iNgAO-0005my-Fv; Thu, 24 Oct 2019 12:40:52 -0400 Received: from [176.228.60.248] (port=2247 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iNgAN-0001UM-Fb; Thu, 24 Oct 2019 12:40:52 -0400 Date: Thu, 24 Oct 2019 19:40:35 +0300 Message-Id: <834kzyxfjw.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-reply-to: (message from Stefan Kangas on Wed, 23 Oct 2019 13:32:03 +0200) Subject: Re: bug#6072: 24.0.50; Problems with M-x gdb on MS-Windows References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 6072-done Cc: 6072-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Wed, 23 Oct 2019 13:32:03 +0200 > Cc: 6072@debbugs.gnu.org > > Below is a 9 year old bug report of yours, which never got a reply at the time. > > A lot of water has flowed under the bridge since then, so: is this > still an issue? No, all of those problems have been fixed. So I'm closing the bug report; thanks for digging it from under the dust. From unknown Sun Aug 17 09:10:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 22 Nov 2019 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator