From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#6072: 24.0.50; Problems with M-x gdb on MS-Windows Date: Wed, 23 Oct 2019 13:32:03 +0200 Message-ID: References: <838w83wl4v.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="201132"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 6072@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 23 13:52:52 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iNFC7-000qAa-2F for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Oct 2019 13:52:51 +0200 Original-Received: from localhost ([::1]:33100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNFC5-0008Ec-C9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Oct 2019 07:52:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54789) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNEsx-00081w-Vl for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2019 07:33:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNEsw-0003n1-MP for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2019 07:33:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52232) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNEsw-0003mt-Cz for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2019 07:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iNEsw-0000fV-7y for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2019 07:33:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <838w83wl4v.fsf@gnu.org> Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Oct 2019 11:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6072 X-GNU-PR-Package: emacs Original-Received: via spool by 6072-submit@debbugs.gnu.org id=B6072.15718303452271 (code B ref 6072); Wed, 23 Oct 2019 11:33:02 +0000 Original-Received: (at 6072) by debbugs.gnu.org; 23 Oct 2019 11:32:25 +0000 Original-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 Original-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 Original-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) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:170057 Archived-At: 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)'