From unknown Sun Jun 22 00:07:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24508: 25.1; M-x gdb crashes when used on windows + cygwin Resent-From: Martijn Saelens Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Sep 2016 15:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24508 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 24508@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14745572897021 (code B ref -1); Thu, 22 Sep 2016 15:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Sep 2016 15:14:49 +0000 Received: from localhost ([127.0.0.1]:60787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn5i4-0001p9-L6 for submit@debbugs.gnu.org; Thu, 22 Sep 2016 11:14:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn0PY-0000AO-Lz for submit@debbugs.gnu.org; Thu, 22 Sep 2016 05:35:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn0PR-0007Z0-Cz for submit@debbugs.gnu.org; Thu, 22 Sep 2016 05:35:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn0PR-0007Xh-9T for submit@debbugs.gnu.org; Thu, 22 Sep 2016 05:35:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn0PN-0003x2-O2 for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2016 05:35:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn0PL-0007So-Nu for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2016 05:35:09 -0400 Received: from mail-it0-x236.google.com ([2607:f8b0:4001:c0b::236]:38167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn0PL-0007RH-FQ for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2016 05:35:07 -0400 Received: by mail-it0-x236.google.com with SMTP id n143so75992115ita.1 for ; Thu, 22 Sep 2016 02:35:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=vzqyu0OBLWsq1/XYHRnG/CQngE/zNhn+CQQHG/T4cwo=; b=tbkYRtPc3wsjOeOgp1GFI2UuUQwE/Yi5tdD6W/GNBr92mMv+/P57bPBRiOMoz+xXIJ 0kAwm/d2ria2Y+CrAEE+mHijZiR/YwRws+KEDAPy6rJOOOopawJIw9KjaQwZU4C7gJXo vDVqNh5q3g3rlC7dkFOg8qbU6qbf4y0RPrzLXlISDjFv2ghg8/I02vIPJg+bwHFUjTqL v/p7Tm5C9mIhrtPjve6xYP5XH6wzGqa/lWl0VNgAnpjccjE9xlXlHpYDHsm4qQKnzl9u ze14Lqn28aIRdXRoTtkrIlQUp8BmNW1BxnRvZ+0mrTsfFmDx7gwpQVVeJa3Mvy4eqo1w V9IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vzqyu0OBLWsq1/XYHRnG/CQngE/zNhn+CQQHG/T4cwo=; b=QdPtXGzpFs+KwvGsriFVKjEQtrO5HT7lV4MKy2DuWUyAY/tmAdKTmgLubURLjHOVS3 MglPRf0RaSEJyYBcLOfraFiumNoZp34WxovVbv/cgab/Oca9Ov9fL7kQpbcH1Q8Ybbon LQf7Gk/m7S4htNpO3JCdtlXD6glv4pxB23/7/4WsVzdP2tCKaQyYPs1axoOQe3Rm/HEe BQaPVHpjud+ohfC8wNV8cWkitryQFDo5ZBAbOJ+DitkDsfH0S7ORQQJi1fmYxY2cdcaG JabSaP8bh+uSMA/cuMuw3KDdM20uzPvhE9s4z1urUsDXmFZ4duJTR+G/CTudjfiUntTM RQdA== X-Gm-Message-State: AE9vXwMhETq3F7HwiKfzVP3SAUrgzDnXYkttv5qP2MvuVJ4KfpeycXtrApF5EoCVKV3fQpRa675Wmqf72OlIlQ== X-Received: by 10.36.33.17 with SMTP id e17mr1695142ita.41.1474536906123; Thu, 22 Sep 2016 02:35:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.50.196 with HTTP; Thu, 22 Sep 2016 02:35:05 -0700 (PDT) From: Martijn Saelens Date: Thu, 22 Sep 2016 11:35:05 +0200 Message-ID: Content-Type: multipart/alternative; boundary=001a1147cbec7f712b053d156045 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Thu, 22 Sep 2016 11:14:47 -0400 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: -4.0 (----) --001a1147cbec7f712b053d156045 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable M-x gdb crashes when trying to set a breakpoint on main. Emacs runs on windows and uses the gdb from cygwin. I can reproduce this on multiple machines using the following steps in emacs -Q: 1. Open a *.cpp file in emacs. I've used the following file "test.cpp": #include int main() { std::cout << "Hello world!" << std::endl; return 0; } 2. Compile the file using M-x compile: g++ -g test.cpp -o test.exe 3. start gdb using M-x gdb: gdb -i=3Dmi test.exe 4. inside gdb type "break main". The gdb prompt dissapears and the debugger becomes unusable. The full output of *gud-test.exe*: Current directory is c:/Users/martijns/ GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html> 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 "i686-pc-cygwin". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from test.exe...done. (gdb) break main Breakpoint 1 at 0x4011de: file test.cpp, line 6. (gdb) list test.cpp:1 1 2 #include 3 4 int main() 5 { 6 std::cout << "Hello world!" << std::endl; 7 return 0; 8 } If I use the commandline for gdb, then gdb works as expected. Versions of the used software: $ gdb --version GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html> 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 "i686-pc-cygwin". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". $ emacs --version GNU Emacs 25.1.1 Copyright (C) 2016 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D In GNU Emacs 25.1.1 (i686-w64-mingw32) of 2016-09-17 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 6.3.9600 Configured using: 'configure --host=3Di686-w64-mingw32 --without-dbus --without-compress-install CFLAGS=3D-static' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Debugger Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-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-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Making completion list... [2 times] Compilation finished Making completion list... delete-backward-char: Text is read-only Compilation finished mwheel-scroll: Beginning of buffer [3 times] C-c e is undefined is undefined [2 times] Target doesn=E2=80=99t support non-stop mode. Turning it off. Note: file is write protected Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils cl-seq gdb-mi bindat json map seq byte-opt gv bytecomp byte-compile cconv gud shell pcomplete compile comint ansi-color ring vc-git diff-mode easy-mmode cl-extra help-mode cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 8 136689 12899) (symbols 32 24315 0) (miscs 32 103 225) (strings 16 30312 5157) (string-bytes 1 977977) (vectors 8 19122) (vector-slots 4 511617 4848) (floats 8 202 47) (intervals 28 691 49) (buffers 520 27)) --001a1147cbec7f712b053d156045 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

M-x gdb crashes when trying to set a breakpoint on m= ain. Emacs runs on

windows and uses the gdb from cygwin. I can reproduc= e this on multiple

machines using the following steps in emacs -Q:

=C2=A0

1. Open a *.cpp file in emacs. I've used the fol= lowing file "test.cpp":

=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #include <iostream>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 int main()

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {

=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0std::cout << "Hello world!" << std::endl;

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 return 0;

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }

=C2=A0

2. Compile the file using M-x compile: g++ -g test.c= pp -o test.exe

3. start gdb using M-x gdb: gdb -i=3Dmi test.exe

4. inside gdb type "break main". The gdb p= rompt dissapears and the

debugger becomes unusable. The full output of *gud-test.exe*:

=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Current directory is c:/Users/martijns/

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Copyright (C) 2015 Free Software Foundation, Inc.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 This is free software: you are free to change and redistribute it.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 There is NO WARRANTY, to the extent permitted by law.=C2=A0 Type "show copying"

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 and "show warranty" for details.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 This GDB was configured as "i686-pc-cygwin".

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Type "show configuration" for configuration details.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 For bug reporting instructions, please see:

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 <http://www.gnu= .org/software/gdb/bugs/>.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Find the GDB manual and other documentation resources online at:

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 <http:= //www.gnu.org/software/gdb/documentation/>.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 For help, type "help".

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Type "apropos word" to search for commands related to "word"= ...

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Reading symbols from test.exe...done.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0(gdb) break main

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Breakpoint 1 at 0x4011de: file test.cpp, line 6.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (gdb) list test.cpp:1

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 1=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 2=C2=A0=C2=A0=C2=A0=C2=A0 #include <iostream>=

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 3=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 4=C2=A0=C2=A0=C2=A0=C2=A0 int main()

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 5=C2=A0=C2=A0=C2=A0=C2=A0 {

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 6=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 std::cout << "Hello world!" << std::endl;

=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A07=C2=A0=C2=A0=C2=A0=C2=A0 =C2= =A0 return 0;

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 8=C2=A0=C2=A0=C2=A0=C2=A0 }

=C2=A0

If I use the commandline for gdb, then gdb works as expected.

=C2=A0

Versions of the used software:

=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 $ gdb --version

=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Copyright (C) 2015 Free Software Foundation, Inc.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 This is free software: you are free to change and redistribute it.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 There is NO WARRANTY, to the extent permitted by law.=C2=A0 Type "show copying"

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 and "show warranty" for details.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 This GDB was configured as "i686-pc-cygwin".

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Type "show configuration" for configuration details.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 For bug reporting instructions, please see:

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 <http://www.gnu= .org/software/gdb/bugs/>.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Find the GDB manual and other documentation resources online at:

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 <http:= //www.gnu.org/software/gdb/documentation/>.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 For help, type "help".

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Type "apropos word" to search for commands related to "word"= .

=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 $ emacs --version

=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 GNU Emacs 25.1.1

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Copyright (C) 2016 Free Software Foundation, Inc.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 GNU Emacs comes with ABSOLUTELY NO WARRANTY.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 You may redistribute copies of GNU Emacs

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 under the terms of the GNU General Public License.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 For more information about these matters, see the file named COPYING.

=C2=A0

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

=C2=A0

In GNU Emacs 25.1.1 (i686-w64-mingw32)

=C2=A0of 2016-09-17 built on LAPHROAIG

Windowing system distributor 'Microsoft Corp.= 9;, version 6.3.9600

Configured using:

=C2=A0'configure --host=3Di686-w64-mingw32 --without-dbus

=C2=A0--without-compress-install CFLAGS= =3D-static'

=C2=A0

Configured features:

XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS L= IBXML2 ZLIB

TOOLKIT_SCROLL_BARS

=C2=A0

Important settings:

=C2=A0 value of $LANG: ENU

=C2=A0 locale-coding-system: cp1252

=C2=A0

Major mode: Debugger

=C2=A0

Minor modes in effect:

=C2=A0 shell-dirtrack= -mode: t

=C2=A0 diff-auto-refi= ne-mode: t

=C2=A0 tooltip-mode: = t

=C2=A0 global-eldoc-m= ode: t

=C2=A0 electric-inden= t-mode: t

=C2=A0 mouse-wheel-mo= de: t

=C2=A0 tool-bar-mode:= t

=C2=A0 menu-bar-mode:= t

=C2=A0 file-name-shad= ow-mode: t

=C2=A0 global-font-lo= ck-mode: t

=C2=A0 font-lock-mode= : t

=C2=A0 blink-cursor-m= ode: t

=C2=A0 auto-compositi= on-mode: t

=C2=A0 auto-encryptio= n-mode: t

=C2=A0 auto-compressi= on-mode: t

=C2=A0 line-number-mo= de: t

=C2=A0 transient-mark= -mode: t

=C2=A0

Recent messages:

Making completion list... [2 times]

Compilation finished

Making completion list...

delete-backward-char: Text is read-only

Compilation finished

mwheel-scroll: Beginning of buffer [3 times]

C-c e is undefined

<C-tab> is undefined [2 times]

Target doesn=E2=80=99t support non-stop mode.= =C2=A0 Turning it off.

Note: file is write protected

=C2=A0

Load-path shadows:

None found.

=C2=A0

Features:

(shadow sort mail-extr emacsbug message dired format= -spec rfc822 mml

mml-sec password-cache epg epg-config gnus-util mm-d= ecode mm-bodies

mm-encode mail-parse rfc2231 mailabbrev gmm-utils ma= ilheader sendmail

rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prs= vr mail-utils cl-seq

gdb-mi bindat json map seq byte-opt gv bytecomp byte= -compile cconv gud

shell pcomplete compile comint ansi-color ring vc-gi= t diff-mode

easy-mmode cl-extra help-mode cc-mode cc-fonts easym= enu cc-guess

cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs

cl-loaddefs pcase cl-lib time-date mule-util tooltip= eldoc electric

uniquify ediff-hook vc-hooks lisp-float-type mwheel = dos-w32 ls-lisp

disp-table w32-win w32-vars term/common-win tool-bar= dnd fontset image

regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode

prog-mode register page menu-bar rfn-eshadow timer select scroll-bar

mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham

georgian utf-8-lang misc-lang vietnamese tibetan tha= i tai-viet lao

korean japanese eucjp-ms cp51932 hebrew greek romani= an slovak czech

european ethiopic indian cyrillic chinese charscript case-table epa-hook

jka-cmpr-hook help simple abbrev minibuffer cl-prelo= aded nadvice

loaddefs button faces cus-face macroexp files text-properties overlay

sha1 md5 base64 format env code-pages mule custom widget

hashtable-print-readable backquote w32notify w32 mul= ti-tty

make-network-process emacs)

=C2=A0

Memory information:

((conses 8 136689 12899)

=C2=A0(symbols 32 24315 0)

=C2=A0(miscs 32 103 225)

=C2=A0(strings 16 30312 5157)

=C2=A0(string-bytes 1 977977)

=C2=A0(vectors 8 19122)

=C2=A0(vector-slots 4 511617 4848)

=C2=A0(floats 8 202 47)

=C2=A0(intervals 28 691 49)

=C2=A0(buffers 520 27))

--001a1147cbec7f712b053d156045-- From unknown Sun Jun 22 00:07:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24508: 25.1; M-x gdb crashes when used on windows + cygwin Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Sep 2016 16:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24508 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Martijn Saelens Cc: 24508@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 24508-submit@debbugs.gnu.org id=B24508.147456071612534 (code B ref 24508); Thu, 22 Sep 2016 16:12:02 +0000 Received: (at 24508) by debbugs.gnu.org; 22 Sep 2016 16:11:56 +0000 Received: from localhost ([127.0.0.1]:60835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn6bM-0003G4-1A for submit@debbugs.gnu.org; Thu, 22 Sep 2016 12:11:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn6bK-0003FP-I1 for 24508@debbugs.gnu.org; Thu, 22 Sep 2016 12:11:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn6bB-0006HB-3i for 24508@debbugs.gnu.org; Thu, 22 Sep 2016 12:11:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn6bB-0006GZ-0f; Thu, 22 Sep 2016 12:11:45 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1732 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bn6b9-0003eI-3Q; Thu, 22 Sep 2016 12:11:43 -0400 Date: Thu, 22 Sep 2016 19:12:07 +0300 Message-Id: <83k2e3ewx4.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Martijn Saelens on Thu, 22 Sep 2016 11:35:05 +0200) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.1 (--------) 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: -8.1 (--------) > From: Martijn Saelens > Date: Thu, 22 Sep 2016 11:35:05 +0200 > > M-x gdb crashes when trying to set a breakpoint on main. Emacs runs on > windows and uses the gdb from cygwin. I can reproduce this on multiple > machines using the following steps in emacs -Q: I cannot reproduce this, but I used a native Windows build of GDB. If your GCC is a 32-bit compiler, you could try installing the same GDB I'm using from here: https://sourceforge.net/projects/ezwinports/files/?source=navbar From unknown Sun Jun 22 00:07:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24508: 25.1; M-x gdb crashes when used on windows + cygwin Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Sep 2016 20:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24508 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 24508@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14746607806370 (code B ref -1); Fri, 23 Sep 2016 20:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Sep 2016 19:59:40 +0000 Received: from localhost ([127.0.0.1]:33711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnWdI-0001eg-Ci for submit@debbugs.gnu.org; Fri, 23 Sep 2016 15:59:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnWdG-0001eT-LH for submit@debbugs.gnu.org; Fri, 23 Sep 2016 15:59:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnWdA-00030i-If for submit@debbugs.gnu.org; Fri, 23 Sep 2016 15:59:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnWdA-00030C-GL for submit@debbugs.gnu.org; Fri, 23 Sep 2016 15:59:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnWd8-0003nl-5D for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2016 15:59:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnWd3-0002xB-8W for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2016 15:59:29 -0400 Received: from limerock01.mail.cornell.edu ([128.84.13.241]:47855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnWd3-0002tN-3x for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2016 15:59:25 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u8NJxIbN012682 for ; Fri, 23 Sep 2016 15:59:19 -0400 Received: from [192.168.1.5] (mta-68-175-148-36.twcny.rr.com [68.175.148.36] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u8NJxHZM020680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Fri, 23 Sep 2016 15:59:18 -0400 References: From: Ken Brown Message-ID: Date: Fri, 23 Sep 2016 15:59:17 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) 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: -4.4 (----) On 9/22/2016 5:35 AM, Martijn Saelens wrote: > M-x gdb crashes when trying to set a breakpoint on main. Emacs runs on > > windows and uses the gdb from cygwin. I don't know if this is relevant, but there is currently a problem with gdb on 32-bit Cygwin. A workaround can be found here: https://cygwin.com/ml/cygwin/2016-09/msg00160.html Ken From unknown Sun Jun 22 00:07:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24508: Fwd: Re: bug#24508: 25.1; M-x gdb crashes when used on windows + cygwin Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Sep 2016 20:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24508 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Martijn Saelens , 24508@debbugs.gnu.org Received: via spool by 24508-submit@debbugs.gnu.org id=B24508.14746627629709 (code B ref 24508); Fri, 23 Sep 2016 20:33:01 +0000 Received: (at 24508) by debbugs.gnu.org; 23 Sep 2016 20:32:42 +0000 Received: from localhost ([127.0.0.1]:33723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnX9G-0002WX-FP for submit@debbugs.gnu.org; Fri, 23 Sep 2016 16:32:42 -0400 Received: from limerock04.mail.cornell.edu ([128.84.13.244]:39239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnX9F-0002WJ-0q for 24508@debbugs.gnu.org; Fri, 23 Sep 2016 16:32:41 -0400 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock04.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u8NKWZQt005357; Fri, 23 Sep 2016 16:32:35 -0400 Received: from [192.168.1.5] (mta-68-175-148-36.twcny.rr.com [68.175.148.36] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u8NKWXAE028714 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 23 Sep 2016 16:32:34 -0400 References: From: Ken Brown X-Forwarded-Message-Id: Message-ID: <7c745390-7170-5801-ca06-fffb89f852e2@cornell.edu> Date: Fri, 23 Sep 2016 16:32:33 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-Spam-Score: -5.4 (-----) 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: -5.4 (-----) Sorry, I forgot to reply-all. -------- Forwarded Message -------- Subject: Re: bug#24508: 25.1; M-x gdb crashes when used on windows + cygwin Date: Fri, 23 Sep 2016 15:59:17 -0400 From: Ken Brown To: bug-gnu-emacs@gnu.org On 9/22/2016 5:35 AM, Martijn Saelens wrote: > M-x gdb crashes when trying to set a breakpoint on main. Emacs runs on > > windows and uses the gdb from cygwin. I don't know if this is relevant, but there is currently a problem with gdb on 32-bit Cygwin. A workaround can be found here: https://cygwin.com/ml/cygwin/2016-09/msg00160.html Ken -- !ÿþ/ From unknown Sun Jun 22 00:07:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24508: Re: bug#24508: 25.1; M-x gdb crashes when used on windows + cygwin Resent-From: Martijn Saelens Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 May 2017 13:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24508 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ken Brown Cc: 24508@debbugs.gnu.org Received: via spool by 24508-submit@debbugs.gnu.org id=B24508.149373090231674 (code B ref 24508); Tue, 02 May 2017 13:16:01 +0000 Received: (at 24508) by debbugs.gnu.org; 2 May 2017 13:15:02 +0000 Received: from localhost ([127.0.0.1]:50432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5Xdu-0008En-Gh for submit@debbugs.gnu.org; Tue, 02 May 2017 09:15:02 -0400 Received: from mail-io0-f175.google.com ([209.85.223.175]:34900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5Xdt-0008E3-13 for 24508@debbugs.gnu.org; Tue, 02 May 2017 09:15:01 -0400 Received: by mail-io0-f175.google.com with SMTP id r16so159224371ioi.2 for <24508@debbugs.gnu.org>; Tue, 02 May 2017 06:15:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FeybadkTFVmREffgNuh2pptznk2EhR3HYY0L+k3N/hI=; b=fHbACqb04r9OJlJb/FfcaRFHgnwjVh8B/DuVuPgMm51BygTVTb9buZI1FY3+g9JQ7k 9HNoSO7HZwvAmPTyrc+ndM4fc1nde2g24Bq6jDOCpEJ1mjhapq26e/igk5xggi+GzVDz JPw8jGZVvAarPDnmgQZeVf9kV+51M/qK7ZsKNldqytoQPW2CpragXFi0QKhm24lnaxtI MwnqhHn3JierlvK+yJxjBOz8R9DlofQJ6Kxsx5xCxKk6p0lBiqMYOenjg+pYcfnQ7gPX O3EfPIRdgoxmyCNjZ4wfYX5dnpdlfC040v+9jdD2qaojnXTXwrIUgHMimM1LN4iBDVhc DNOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FeybadkTFVmREffgNuh2pptznk2EhR3HYY0L+k3N/hI=; b=YPQmKWijgUxFG9Qd3YojCU0wiMjVb2Q/k+sOKyGtuNzAcBokDIInjPb8O1y4bepz92 1HTjRGQQUSEnNUGlFDM1YvB+4RM2xqTEfPI1oloDGTy+loAOevnaJ+a0MaDnKGSnquNo voex4IRR44mdm520KHuR5xEXwfP/PrtuIslfPhYNasl75048dvBRAb7cw/G3ig39cghe 0h0i4W7rz8y2l4H5jHXJT3f13BFdyBwDq64G32h140J7OCiRZX+5t5dBgAQRB+adsO1f aRlf9e2/txol7kh6LW8bMfMPbrV4yB6H7Pb1lrNlGD959T74TNTp1S0wLaELWUmrkhij gNWg== X-Gm-Message-State: AN3rC/4d0uTEgO3sEdgxEzhWisgVv+R1FELCzJC/tU/NqrgOLR0xl/yf N9Sdp764a4pD+jjo75Kkxi/TuCpD/Q== X-Received: by 10.157.34.165 with SMTP id y34mr10788389ota.175.1493730894028; Tue, 02 May 2017 06:14:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.22.186 with HTTP; Tue, 2 May 2017 06:14:53 -0700 (PDT) In-Reply-To: <7c745390-7170-5801-ca06-fffb89f852e2@cornell.edu> References: <7c745390-7170-5801-ca06-fffb89f852e2@cornell.edu> From: Martijn Saelens Date: Tue, 2 May 2017 15:14:53 +0200 Message-ID: Content-Type: multipart/alternative; boundary=94eb2c03579a5426bb054e8a53ae X-Spam-Score: -2.3 (--) 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: -2.3 (--) --94eb2c03579a5426bb054e8a53ae Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, As I have no issues on Linux, I indeed suspect it to be an issue with Cygwin. My apologies for the inconvenience, Martijn On Fri, Sep 23, 2016 at 10:32 PM, Ken Brown wrote: > Sorry, I forgot to reply-all. > > > -------- Forwarded Message -------- > Subject: Re: bug#24508: 25.1; M-x gdb crashes when used on windows + cygw= in > Date: Fri, 23 Sep 2016 15:59:17 -0400 > From: Ken Brown > To: bug-gnu-emacs@gnu.org > > On 9/22/2016 5:35 AM, Martijn Saelens wrote: > >> M-x gdb crashes when trying to set a breakpoint on main. Emacs runs on >> >> windows and uses the gdb from cygwin. >> > > I don't know if this is relevant, but there is currently a problem with > gdb on 32-bit Cygwin. A workaround can be found here: > > https://cygwin.com/ml/cygwin/2016-09/msg00160.html > > Ken > > > -- > !=C3=BF=C3=BE/ > --94eb2c03579a5426bb054e8a53ae Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

As I have no issues on Lin= ux, I indeed suspect it to be an issue with Cygwin.

My apologi= es for the inconvenience,

Martijn

On Fri, Sep 23, 2016 at 10:32 PM, Ke= n Brown <kbrown@cornell.edu> wrote:
Sorry, I forgot to reply-all.


-------- Forwarded Message --------
Subject: Re: bug#24508: 25.1; M-x gdb crashes when used on windows + cygwin=
Date: Fri, 23 Sep 2016 15:59:17 -0400
From: Ken Brown <kbrown@cornell.edu>
To: bug-gnu-emac= s@gnu.org

On 9/22/2016 5:35 AM, Martijn Saelens wrote:
M-x gdb crashes when trying to set a breakpoint on main. Emacs runs on

windows and uses the gdb from cygwin.

I don't know if this is relevant, but there is currently a problem with= gdb on 32-bit Cygwin.=C2=A0 A workaround can be found here:

=C2=A0 =C2=A0https://cygwin.com/ml/cygwin/201= 6-09/msg00160.html

Ken


--
!<symlink>=C3=BF=C3=BE/

--94eb2c03579a5426bb054e8a53ae-- From unknown Sun Jun 22 00:07:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24508: 25.1; M-x gdb crashes when used on windows + cygwin Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Nov 2019 09:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24508 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Martijn Saelens Cc: 24508@debbugs.gnu.org, Ken Brown Received: via spool by 24508-submit@debbugs.gnu.org id=B24508.15728591011322 (code B ref 24508); Mon, 04 Nov 2019 09:19:01 +0000 Received: (at 24508) by debbugs.gnu.org; 4 Nov 2019 09:18:21 +0000 Received: from localhost ([127.0.0.1]:35859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRYVA-0000LG-U4 for submit@debbugs.gnu.org; Mon, 04 Nov 2019 04:18:21 -0500 Received: from host.gofardesign.uk ([208.79.239.190]:60745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRYV9-0000L2-RF for 24508@debbugs.gnu.org; Mon, 04 Nov 2019 04:18:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mUcDDPQEbSdyBOA/aUPwST678/XQpdCI60thO1MjA9E=; b=kT+faFgzauRRSFGzD0+EenF/vH ah8Ao733jACuPR6g04vGV96D4U7gLMvRK0li5wdT+iZeg2pPkOfX2WX8VBYB24uGBxfznjOLCqyHX EaYMre7IlTKTQ2hBNPf1JkiThJQHcqSCcBsWIV4bv6fKHwjEgmjsbWxVnowtGhCbV1YE=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:54964 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iRYV3-0005Ta-PA; Mon, 04 Nov 2019 03:18:14 -0600 From: Stefan Kangas In-Reply-To: (Martijn Saelens's message of "Tue, 2 May 2017 15:14:53 +0200") References: <7c745390-7170-5801-ca06-fffb89f852e2@cornell.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Mon, 04 Nov 2019 10:18:12 +0100 Message-ID: <87mudcc84r.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) 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: -1.0 (-) Martijn Saelens writes: > As I have no issues on Linux, I indeed suspect it to be an issue with Cygwin. > > My apologies for the inconvenience, Does that mean that this is not a bug in Emacs? If so, can the bug be closed? Best regards, Stefan Kangas From unknown Sun Jun 22 00:07:22 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Martijn Saelens Subject: bug#24508: closed (Re: bug#24508: 25.1; M-x gdb crashes when used on windows + cygwin) Message-ID: References: X-Gnu-PR-Message: they-closed 24508 X-Gnu-PR-Package: emacs Reply-To: 24508@debbugs.gnu.org Date: Mon, 04 Nov 2019 13:37:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1572874624-18926-1" This is a multi-part message in MIME format... ------------=_1572874624-18926-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #24508: 25.1; M-x gdb crashes when used on windows + cygwin which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 24508@debbugs.gnu.org. --=20 24508: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24508 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1572874624-18926-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 24508-done) by debbugs.gnu.org; 4 Nov 2019 13:36:38 +0000 Received: from localhost ([127.0.0.1]:36015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRcX8-0004uV-CU for submit@debbugs.gnu.org; Mon, 04 Nov 2019 08:36:38 -0500 Received: from mail-pf1-f171.google.com ([209.85.210.171]:45042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRcX6-0004uH-HJ for 24508-done@debbugs.gnu.org; Mon, 04 Nov 2019 08:36:36 -0500 Received: by mail-pf1-f171.google.com with SMTP id q26so12194943pfn.11 for <24508-done@debbugs.gnu.org>; Mon, 04 Nov 2019 05:36:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AAMtwdsKKUErvKA2LB8kEZZEGAjMVRbyJo5nau65CJc=; b=pzMF9WbDLiB5XC42feA1CTwU9vX9XUH8QsoTRI0z0r7XFpIFLPLyoQYM2TC46/y4En fA4fVA0vJLeR5x6O14dIWetRDb7wvNew5Cx00rETvAZVCQ7Q1smhbZMKu5MsUO0OhXtF TGDadj+wkZGaoXO0hb4/2e9wmxN+Ce74iTtiVDDIKRL4pE3dn06GIMBj9ipjTZffLSuj J/hIEFEIBebDsKITu9ObFC6NLQQG8I8HNtmST28tP1YgIKkGkfOjUjZULT8od5QelM3/ 6xfMmlMlEbpSjA1HQUZr5NY9PNkreRoP8OogDhLj08cT4sY2V6O+PS1b6Rq+tCZ1TIbK TfdA== X-Gm-Message-State: APjAAAWtEDaeRTHi1BuH0e+DLY1m5DW4Ano5/4o0W+NT8s5NVJ+uYA8o a9GSR9FkNDgCtdih2YBRMEwjlk2/GTe+6odjs7g= X-Google-Smtp-Source: APXvYqxWyqO2o7PNN4jdL6xBp9Dzqx5XbczfkbViRWDQr+5Q78hilaN+bZLgVsHnVPSZU4bLXQL6k8uB74Ozgo1TS8M= X-Received: by 2002:a63:7015:: with SMTP id l21mr27917615pgc.200.1572874590484; Mon, 04 Nov 2019 05:36:30 -0800 (PST) MIME-Version: 1.0 References: <7c745390-7170-5801-ca06-fffb89f852e2@cornell.edu> <87mudcc84r.fsf@marxist.se> In-Reply-To: From: Stefan Kangas Date: Mon, 4 Nov 2019 14:36:19 +0100 Message-ID: Subject: Re: bug#24508: 25.1; M-x gdb crashes when used on windows + cygwin To: Martijn Saelens Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 24508-done Cc: 24508-done@debbugs.gnu.org, Ken Brown 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.6 (/) Martijn Saelens writes: > Yes indeed, the bug may be closed. Thanks, I'm therefore closing the bug now. Best regards, Stefan Kangas ------------=_1572874624-18926-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Sep 2016 15:14:49 +0000 Received: from localhost ([127.0.0.1]:60787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn5i4-0001p9-L6 for submit@debbugs.gnu.org; Thu, 22 Sep 2016 11:14:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn0PY-0000AO-Lz for submit@debbugs.gnu.org; Thu, 22 Sep 2016 05:35:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn0PR-0007Z0-Cz for submit@debbugs.gnu.org; Thu, 22 Sep 2016 05:35:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn0PR-0007Xh-9T for submit@debbugs.gnu.org; Thu, 22 Sep 2016 05:35:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn0PN-0003x2-O2 for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2016 05:35:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn0PL-0007So-Nu for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2016 05:35:09 -0400 Received: from mail-it0-x236.google.com ([2607:f8b0:4001:c0b::236]:38167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn0PL-0007RH-FQ for bug-gnu-emacs@gnu.org; Thu, 22 Sep 2016 05:35:07 -0400 Received: by mail-it0-x236.google.com with SMTP id n143so75992115ita.1 for ; Thu, 22 Sep 2016 02:35:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=vzqyu0OBLWsq1/XYHRnG/CQngE/zNhn+CQQHG/T4cwo=; b=tbkYRtPc3wsjOeOgp1GFI2UuUQwE/Yi5tdD6W/GNBr92mMv+/P57bPBRiOMoz+xXIJ 0kAwm/d2ria2Y+CrAEE+mHijZiR/YwRws+KEDAPy6rJOOOopawJIw9KjaQwZU4C7gJXo vDVqNh5q3g3rlC7dkFOg8qbU6qbf4y0RPrzLXlISDjFv2ghg8/I02vIPJg+bwHFUjTqL v/p7Tm5C9mIhrtPjve6xYP5XH6wzGqa/lWl0VNgAnpjccjE9xlXlHpYDHsm4qQKnzl9u ze14Lqn28aIRdXRoTtkrIlQUp8BmNW1BxnRvZ+0mrTsfFmDx7gwpQVVeJa3Mvy4eqo1w V9IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vzqyu0OBLWsq1/XYHRnG/CQngE/zNhn+CQQHG/T4cwo=; b=QdPtXGzpFs+KwvGsriFVKjEQtrO5HT7lV4MKy2DuWUyAY/tmAdKTmgLubURLjHOVS3 MglPRf0RaSEJyYBcLOfraFiumNoZp34WxovVbv/cgab/Oca9Ov9fL7kQpbcH1Q8Ybbon LQf7Gk/m7S4htNpO3JCdtlXD6glv4pxB23/7/4WsVzdP2tCKaQyYPs1axoOQe3Rm/HEe BQaPVHpjud+ohfC8wNV8cWkitryQFDo5ZBAbOJ+DitkDsfH0S7ORQQJi1fmYxY2cdcaG JabSaP8bh+uSMA/cuMuw3KDdM20uzPvhE9s4z1urUsDXmFZ4duJTR+G/CTudjfiUntTM RQdA== X-Gm-Message-State: AE9vXwMhETq3F7HwiKfzVP3SAUrgzDnXYkttv5qP2MvuVJ4KfpeycXtrApF5EoCVKV3fQpRa675Wmqf72OlIlQ== X-Received: by 10.36.33.17 with SMTP id e17mr1695142ita.41.1474536906123; Thu, 22 Sep 2016 02:35:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.50.196 with HTTP; Thu, 22 Sep 2016 02:35:05 -0700 (PDT) From: Martijn Saelens Date: Thu, 22 Sep 2016 11:35:05 +0200 Message-ID: Subject: 25.1; M-x gdb crashes when used on windows + cygwin To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001a1147cbec7f712b053d156045 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 22 Sep 2016 11:14:47 -0400 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: -4.0 (----) --001a1147cbec7f712b053d156045 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable M-x gdb crashes when trying to set a breakpoint on main. Emacs runs on windows and uses the gdb from cygwin. I can reproduce this on multiple machines using the following steps in emacs -Q: 1. Open a *.cpp file in emacs. I've used the following file "test.cpp": #include int main() { std::cout << "Hello world!" << std::endl; return 0; } 2. Compile the file using M-x compile: g++ -g test.cpp -o test.exe 3. start gdb using M-x gdb: gdb -i=3Dmi test.exe 4. inside gdb type "break main". The gdb prompt dissapears and the debugger becomes unusable. The full output of *gud-test.exe*: Current directory is c:/Users/martijns/ GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html> 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 "i686-pc-cygwin". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from test.exe...done. (gdb) break main Breakpoint 1 at 0x4011de: file test.cpp, line 6. (gdb) list test.cpp:1 1 2 #include 3 4 int main() 5 { 6 std::cout << "Hello world!" << std::endl; 7 return 0; 8 } If I use the commandline for gdb, then gdb works as expected. Versions of the used software: $ gdb --version GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html> 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 "i686-pc-cygwin". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". $ emacs --version GNU Emacs 25.1.1 Copyright (C) 2016 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D In GNU Emacs 25.1.1 (i686-w64-mingw32) of 2016-09-17 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 6.3.9600 Configured using: 'configure --host=3Di686-w64-mingw32 --without-dbus --without-compress-install CFLAGS=3D-static' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Debugger Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-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-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Making completion list... [2 times] Compilation finished Making completion list... delete-backward-char: Text is read-only Compilation finished mwheel-scroll: Beginning of buffer [3 times] C-c e is undefined is undefined [2 times] Target doesn=E2=80=99t support non-stop mode. Turning it off. Note: file is write protected Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils cl-seq gdb-mi bindat json map seq byte-opt gv bytecomp byte-compile cconv gud shell pcomplete compile comint ansi-color ring vc-git diff-mode easy-mmode cl-extra help-mode cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 8 136689 12899) (symbols 32 24315 0) (miscs 32 103 225) (strings 16 30312 5157) (string-bytes 1 977977) (vectors 8 19122) (vector-slots 4 511617 4848) (floats 8 202 47) (intervals 28 691 49) (buffers 520 27)) --001a1147cbec7f712b053d156045 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

M-x gdb crashes when trying to set a breakpoint on m= ain. Emacs runs on

windows and uses the gdb from cygwin. I can reproduc= e this on multiple

machines using the following steps in emacs -Q:

=C2=A0

1. Open a *.cpp file in emacs. I've used the fol= lowing file "test.cpp":

=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #include <iostream>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 int main()

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {

=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0std::cout << "Hello world!" << std::endl;

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 return 0;

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }

=C2=A0

2. Compile the file using M-x compile: g++ -g test.c= pp -o test.exe

3. start gdb using M-x gdb: gdb -i=3Dmi test.exe

4. inside gdb type "break main". The gdb p= rompt dissapears and the

debugger becomes unusable. The full output of *gud-test.exe*:

=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Current directory is c:/Users/martijns/

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Copyright (C) 2015 Free Software Foundation, Inc.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 This is free software: you are free to change and redistribute it.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 There is NO WARRANTY, to the extent permitted by law.=C2=A0 Type "show copying"

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 and "show warranty" for details.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 This GDB was configured as "i686-pc-cygwin".

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Type "show configuration" for configuration details.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 For bug reporting instructions, please see:

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 <http://www.gnu= .org/software/gdb/bugs/>.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Find the GDB manual and other documentation resources online at:

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 <http:= //www.gnu.org/software/gdb/documentation/>.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 For help, type "help".

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Type "apropos word" to search for commands related to "word"= ...

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Reading symbols from test.exe...done.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0(gdb) break main

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Breakpoint 1 at 0x4011de: file test.cpp, line 6.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (gdb) list test.cpp:1

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 1=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 2=C2=A0=C2=A0=C2=A0=C2=A0 #include <iostream>=

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 3=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 4=C2=A0=C2=A0=C2=A0=C2=A0 int main()

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 5=C2=A0=C2=A0=C2=A0=C2=A0 {

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 6=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 std::cout << "Hello world!" << std::endl;

=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A07=C2=A0=C2=A0=C2=A0=C2=A0 =C2= =A0 return 0;

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 8=C2=A0=C2=A0=C2=A0=C2=A0 }

=C2=A0

If I use the commandline for gdb, then gdb works as expected.

=C2=A0

Versions of the used software:

=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 $ gdb --version

=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Copyright (C) 2015 Free Software Foundation, Inc.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 This is free software: you are free to change and redistribute it.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 There is NO WARRANTY, to the extent permitted by law.=C2=A0 Type "show copying"

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 and "show warranty" for details.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 This GDB was configured as "i686-pc-cygwin".

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Type "show configuration" for configuration details.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 For bug reporting instructions, please see:

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 <http://www.gnu= .org/software/gdb/bugs/>.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Find the GDB manual and other documentation resources online at:

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 <http:= //www.gnu.org/software/gdb/documentation/>.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 For help, type "help".

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Type "apropos word" to search for commands related to "word"= .

=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 $ emacs --version

=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 GNU Emacs 25.1.1

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Copyright (C) 2016 Free Software Foundation, Inc.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 GNU Emacs comes with ABSOLUTELY NO WARRANTY.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 You may redistribute copies of GNU Emacs

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 under the terms of the GNU General Public License.

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 For more information about these matters, see the file named COPYING.

=C2=A0

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

=C2=A0

In GNU Emacs 25.1.1 (i686-w64-mingw32)

=C2=A0of 2016-09-17 built on LAPHROAIG

Windowing system distributor 'Microsoft Corp.= 9;, version 6.3.9600

Configured using:

=C2=A0'configure --host=3Di686-w64-mingw32 --without-dbus

=C2=A0--without-compress-install CFLAGS= =3D-static'

=C2=A0

Configured features:

XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS L= IBXML2 ZLIB

TOOLKIT_SCROLL_BARS

=C2=A0

Important settings:

=C2=A0 value of $LANG: ENU

=C2=A0 locale-coding-system: cp1252

=C2=A0

Major mode: Debugger

=C2=A0

Minor modes in effect:

=C2=A0 shell-dirtrack= -mode: t

=C2=A0 diff-auto-refi= ne-mode: t

=C2=A0 tooltip-mode: = t

=C2=A0 global-eldoc-m= ode: t

=C2=A0 electric-inden= t-mode: t

=C2=A0 mouse-wheel-mo= de: t

=C2=A0 tool-bar-mode:= t

=C2=A0 menu-bar-mode:= t

=C2=A0 file-name-shad= ow-mode: t

=C2=A0 global-font-lo= ck-mode: t

=C2=A0 font-lock-mode= : t

=C2=A0 blink-cursor-m= ode: t

=C2=A0 auto-compositi= on-mode: t

=C2=A0 auto-encryptio= n-mode: t

=C2=A0 auto-compressi= on-mode: t

=C2=A0 line-number-mo= de: t

=C2=A0 transient-mark= -mode: t

=C2=A0

Recent messages:

Making completion list... [2 times]

Compilation finished

Making completion list...

delete-backward-char: Text is read-only

Compilation finished

mwheel-scroll: Beginning of buffer [3 times]

C-c e is undefined

<C-tab> is undefined [2 times]

Target doesn=E2=80=99t support non-stop mode.= =C2=A0 Turning it off.

Note: file is write protected

=C2=A0

Load-path shadows:

None found.

=C2=A0

Features:

(shadow sort mail-extr emacsbug message dired format= -spec rfc822 mml

mml-sec password-cache epg epg-config gnus-util mm-d= ecode mm-bodies

mm-encode mail-parse rfc2231 mailabbrev gmm-utils ma= ilheader sendmail

rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prs= vr mail-utils cl-seq

gdb-mi bindat json map seq byte-opt gv bytecomp byte= -compile cconv gud

shell pcomplete compile comint ansi-color ring vc-gi= t diff-mode

easy-mmode cl-extra help-mode cc-mode cc-fonts easym= enu cc-guess

cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs

cl-loaddefs pcase cl-lib time-date mule-util tooltip= eldoc electric

uniquify ediff-hook vc-hooks lisp-float-type mwheel = dos-w32 ls-lisp

disp-table w32-win w32-vars term/common-win tool-bar= dnd fontset image

regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode

prog-mode register page menu-bar rfn-eshadow timer select scroll-bar

mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham

georgian utf-8-lang misc-lang vietnamese tibetan tha= i tai-viet lao

korean japanese eucjp-ms cp51932 hebrew greek romani= an slovak czech

european ethiopic indian cyrillic chinese charscript case-table epa-hook

jka-cmpr-hook help simple abbrev minibuffer cl-prelo= aded nadvice

loaddefs button faces cus-face macroexp files text-properties overlay

sha1 md5 base64 format env code-pages mule custom widget

hashtable-print-readable backquote w32notify w32 mul= ti-tty

make-network-process emacs)

=C2=A0

Memory information:

((conses 8 136689 12899)

=C2=A0(symbols 32 24315 0)

=C2=A0(miscs 32 103 225)

=C2=A0(strings 16 30312 5157)

=C2=A0(string-bytes 1 977977)

=C2=A0(vectors 8 19122)

=C2=A0(vector-slots 4 511617 4848)

=C2=A0(floats 8 202 47)

=C2=A0(intervals 28 691 49)

=C2=A0(buffers 520 27))

--001a1147cbec7f712b053d156045-- ------------=_1572874624-18926-1-- From unknown Sun Jun 22 00:07:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24508: 25.1; M-x gdb crashes when used on windows + cygwin Resent-From: Martijn Saelens Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Nov 2019 15:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24508 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: "24508@debbugs.gnu.org" <24508@debbugs.gnu.org>, Martijn Saelens , Ken Brown Reply-To: Martijn Saelens Received: via spool by 24508-submit@debbugs.gnu.org id=B24508.157288048730392 (code B ref 24508); Mon, 04 Nov 2019 15:15:01 +0000 Received: (at 24508) by debbugs.gnu.org; 4 Nov 2019 15:14:47 +0000 Received: from localhost ([127.0.0.1]:37357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRe47-0007u7-3C for submit@debbugs.gnu.org; Mon, 04 Nov 2019 10:14:47 -0500 Received: from mail4.protonmail.ch ([185.70.40.27]:32216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRc8z-0002El-QY for 24508@debbugs.gnu.org; Mon, 04 Nov 2019 08:11:43 -0500 Date: Mon, 04 Nov 2019 13:11:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1572873094; bh=QwxXaydqgsevNXSHJTi96t0pfjvipmpiQJM0pGPdD+Y=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References: Feedback-ID:From; b=YQUgPTf/NsHAwJVQeEQCgSaWyDKAdst2udZCHO+lbfuCkkqa8Jx24BY0zXAy/ab7I rdtaTyFAwEqSUdsgjDJ3YXQtBZYQwaSYgo7pLuUgGdy1LU9Q5hqvAczs2dM0sNisk+ ljvrNLTHeO9gMgzi0JdOWWK6RIzS+isEq56gxb+U= From: Martijn Saelens Message-ID: In-Reply-To: <87mudcc84r.fsf@marxist.se> References: <7c745390-7170-5801-ca06-fffb89f852e2@cornell.edu> <87mudcc84r.fsf@marxist.se> Feedback-ID: qeL1BM05xsjSW-vGCoqpFWqiyILhuBZdj6WK9G1A4w0jDY4azQNM5HleMncT1r7J39PggeQXk7-dRCsavG4fdw==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Mon, 04 Nov 2019 10:14:46 -0500 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: -1.7 (-) Yes indeed, the bug may be closed. Kind regards, Martijn =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Monday 4 November 2019 10:18, Stefan Kangas wrote: > Martijn Saelens martijn.saelens@gmail.com writes: > > > As I have no issues on Linux, I indeed suspect it to be an issue with C= ygwin. > > My apologies for the inconvenience, > > Does that mean that this is not a bug in Emacs? If so, can the bug be > closed? > > Best regards, > Stefan Kangas